We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b03dca commit 328c09aCopy full SHA for 328c09a
lua/java-core/api/test.lua
@@ -53,6 +53,12 @@ end
53
---@param config? java-dap.DapLauncherConfigOverridable config to override the default values in test launcher config
54
function M:run_class_by_buffer(buffer, report, config)
55
local tests = self:get_test_class_by_buffer(buffer)
56
+
57
+ if #tests < 1 then
58
+ vim.notify('No tests found in the current buffer')
59
+ return
60
+ end
61
62
self:run_test(tests, report, config)
63
end
64
0 commit comments