-
Notifications
You must be signed in to change notification settings - Fork 304
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
JUnit 5 Support #4433
Comments
Did you replace |
Fixed by #4473 |
@rdesgroppes Thanks for the pointer! I've added a After looking at it, it looks like JUnit 5 and JUnit 4 share a lot of the test filtering language (which is the main responsibility of the bazel plugin), so most of the work was in making the tests tests against junit 5, and making the code support it explicitly instead of accidentally. |
Thank you for contributing to the IntelliJ repository! This issue has been marked as stale since it has not had any activity in the last 6 months. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-maintainer". Please reach out to the triage team ( |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team ( |
Description of the feature request:
Bazel 6 supports JUnit 5 for Java tests. Furthermore, some third party rulesets (e.g.
contrib_rules_jvm
already offer facilities to allow it.As far as I can tell, the plugin does not yet offer support for these tests.
I've given the implementation a shot in this branch: https://github.com/blorente/intellij/tree/blorente/junit5 (leveraging the existing testbed: commit, but it looks like it will need at least a few days more of investment.
What underlying problem are you trying to solve with this feature?
Currently, the plugin accidentally supports some of its features. As far as I can tell, I can:
The plugin does not, however:
JUnit 4:
JUnit 5 (missing the icons):
What operating system, Intellij IDE and programming languages are you using? Please provide specific versions.
I use an arm macOS. This reproduces in IntelliJ UE 2022.2 and 2022.3, on the plugin's
master
branch.Have you found anything relevant by searching the web?
Any other information, logs, or outputs that you want to share?
I'm happy to work on this. The main reason for the ticket is to make sure nobody is looking into it before sinking significant time.
The text was updated successfully, but these errors were encountered: