vscode-java-test icon indicating copy to clipboard operation
vscode-java-test copied to clipboard

enhancement: syncronization with maven

Open Reissner opened this issue 2 years ago • 1 comments

The use case for me is that essentially I run my testcases in maven with surefire plugin. Only if something goes wrong I switch to the test runner to analyze the details. Then I switch back.

Currently, I have to configure both, the test runner in settings, and maven in the pom. It would be some help if I could use the variables available in maven pom. At least the ones available for maven projects, better in addition those defined in the properties section in the pom. Even better if I just can use the config of the surefire plugin.

Even helpful it would be if the settings in both worlds are comparable. So I miss a way to include and exclude tests in test runner as provided by the surefire plugin.

Concrete suggestion: setting to syncronize with surefire

"java.test.conig": {
  "syncSurefire": "true" % with default false
}

Reissner avatar Aug 15 '22 11:08 Reissner

Thank you for your feedback.

So for now, what kind of configurations you are using in java.test.conig setting?

jdneo avatar Aug 16 '22 01:08 jdneo