Skip to content
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

don't run jupiter and vintage at the same time #595

Open
ST-Saint opened this issue Apr 12, 2022 · 1 comment
Open

don't run jupiter and vintage at the same time #595

ST-Saint opened this issue Apr 12, 2022 · 1 comment

Comments

@ST-Saint
Copy link

I am running a testing method in a Gradle project. However, every time the dap-mode will execute a Jupiter test and a Vintage test.

├─ JUnit Jupiter ✔
│  └─ ConfigTest ✔
│     └─ testConfigFromJson() ✔
└─ JUnit Vintage ✔
   └─ ConfigTest ✔
      └─ testConfigFromJson ✔

Sorry for the stupid question but I did not add vintage to my build.gradle and I did not see any configuration variable to related to this. I am wondering whether I could disable Vintage and only run Jupiter in one test?

Thanks.

@trev-dev
Copy link

I'm using maven, and the test command for dap-java uses java junit standalone. It cannot seem to appreciate which test suite needs running for me either.

This helps:
(setq dap-java-test-additional-args '("--exclude-engine=junit-vintage")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants