However, if I want to run multiple tests (or a whole module) with the same JVM configurations I need to create several configurations for the test classes and a compound section to run them together.
Describe the solution you'd like
A great and convenient solution would be if I could add a testFilter option instead of testClass where I can provide a regular expression to match the tests I want to configure. Like simply defining the module I'd like to test:
An alternative solution would be changing testClass in such a way that it accepts a list of test classes that the configuration is referring to(then also renaming it to testClasses or something like that would be more intuitive).
Additional context
A nice to have would be if the configured tests would show up in the native Testing tab in VSCode.
Search terms
scala test configurations launch.json vscode multiple_tests
Is your feature request related to a problem? Please describe.
When I want to configure custom JVM options for a test I can do that with launch.json and that works fine:
However, if I want to run multiple tests (or a whole module) with the same JVM configurations I need to create several configurations for the test classes and a compound section to run them together.
Describe the solution you'd like
A great and convenient solution would be if I could add a
testFilter
option instead oftestClass
where I can provide a regular expression to match the tests I want to configure. Like simply defining the module I'd like to test:Describe alternatives you've considered
An alternative solution would be changing
testClass
in such a way that it accepts a list of test classes that the configuration is referring to(then also renaming it totestClasses
or something like that would be more intuitive).Additional context
A nice to have would be if the configured tests would show up in the native Testing tab in VSCode.
Search terms
scala test configurations launch.json vscode multiple_tests