You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test case code lens runs all the tests instead of the specific one. Same for debug test case.
Reproduction steps
Create a new project with sbt new scala/scala3.g8
Build the project and wait for the code lenses to appear
Add a new test to src/test/scala/MySuite.scala to have two tests (to see that indeed several tests run instead of just one)
Run the test case code lens of one of the two tests
Dap configuration
local dap = require("dap")
dap.configurations.scala = {
{
type = "scala",
request = "launch",
name = "RunOrTest",
metals = {
runType = "runOrTestFile",
--args = { "firstArg", "secondArg", "thirdArg" }, -- here just as an example
},
},
}
Expected behavior
Only have the test related test case code lens to run.
Bug description
The
test case
code lens runs all the tests instead of the specific one. Same fordebug test case
.Reproduction steps
sbt new scala/scala3.g8
src/test/scala/MySuite.scala
to have two tests (to see that indeed several tests run instead of just one)test case
code lens of one of the two testsDap configuration
Expected behavior
Only have the test related
test case
code lens to run.Operating system
Linux
Version of Metals
1.2.2
Commit of nvim-metals
4f9bf0c
The text was updated successfully, but these errors were encountered: