diff --git a/dot_config/nvim/benq/lua/plugins/features/testing.lua b/dot_config/nvim/benq/lua/plugins/features/testing.lua index 67a3057..5059235 100644 --- a/dot_config/nvim/benq/lua/plugins/features/testing.lua +++ b/dot_config/nvim/benq/lua/plugins/features/testing.lua @@ -15,7 +15,10 @@ return { }) end, keys = { - { "", function() require("neotest").run.run({strategy = "dap"}) end, desc = "Run tests" }, + { "trn", function() require("neotest").run.run() end, desc = "Run nearest test" }, + { "tra", function() require("neotest").run.run({ suite = true }) end, desc = "Run all tests" }, + { "td", function() require("neotest").run.run({ strategy = "dap" }) end, desc = "Run nearest test with debugger" }, + { "ts", function() require("neotest").summary.toggle() end, desc = "Toggle test summary" }, } } }