-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support other JUnit 5 test engines / support JUnit 5 platform #975
Comments
I believe if we support Since there might be huge plenty of different kinds of test framework. It's not a good idea to hard code all of the annotations in the search engine. |
I see at least two tasks:
The second issue is important to allow nesting and collections of test suites. Several engines offer this functionality. @jdneo I'd be willing to contribute a PR but instructions in https://github.com/Microsoft/vscode-java-test/blob/master/CONTRIBUTING.md#contributing-fixes were not detailed enough for me to know how to build and test my code changes. Anyone who has time to guide me through it? |
Hi @jlink, Did you meet any problem setup the environment? |
@jdneo
|
If you mean the warning
So far we only have some test cases at the client side. you can run them by
Let me know if you need more information, thanks! |
@jdneo Everything worked well so far! I think your enumeration would make a great addition to https://github.com/Microsoft/vscode-java-test/blob/master/CONTRIBUTING.md#contributing-fixes |
Thanks! I'll add them later 😄 |
@jdneo I managed to get the main thing going. Before opening a PR, though, I'd like to fix some problems with the console launcher params. Is there a way to see stdout/stderr output from the Java part of the extension? All I can find in the web is how to see the Javascript log. |
Please set the setting Thanks. |
After some refactoring in #1131, now the test runner can support other JUnit 5 test engines/platforms. (except for those JVM compatible language like Kotlin, which needs the upstream Java Language Server to support it). So close this issue now. |
The current version of vscode-java-test only supports the Jupiter engine. The JUnit 5 platform, however, provides support for all kind of test engines. Examples are
vscode-java-test is (probably) already using the launcher API under the hood. Since the launcher supports all test engines out of the box the effort should be doable without too much effort.
Most of the effort might be done with #683
The text was updated successfully, but these errors were encountered: