-
Notifications
You must be signed in to change notification settings - Fork 134
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
Could not recognize different test set #464
Comments
@quoccuongngo Does the folder |
I have the same configuration and issue. The test runner does not see the integration tests unless i add the integration test directory to the test source sets but that behavior is undesirable since then gradle will run the integration tests with the regular unit tests. I tried setting the test config option in my settings.json file to both of the below and that had no change.
|
@jbrandli Can you explain more about this? Sorry I do not quite get your idea. |
Right now, my integrationTests are not recognized by the java test runner, even though they are junit tests, and they have the gradle category of test. I can make the java test runner recognize these tests by adding the integration-test directory to the "test" SourceSet configuration, but then i lose the ability to run my integration tests independently of the unit tests. I would like the java test runner plugin to be able to recognize multiple source sets of tests. |
I think the easiest option would be a setting for the extension that allows me to add another name for the test runner to look for.
|
Thank you @jbrandli for your feedback. I'll take a look. |
has there been any development for this feature? |
Another related issue: redhat-developer/vscode-java#2499 Seems that infer the test source paths according to the |
My use case is very similar to this use case except that I am using maven and my tests are in |
Gradle now has support for "JVM Test Suites" as a way to cleanly setup unit and integration tests separately. It would be great to see support for running or determining tests from different test suites. https://docs.gradle.org/current/userguide/jvm_test_suite_plugin.html |
I also just ran into this issue today with the same setup as the ticket description. Are there any workarounds, or planned solutions to this issue? |
any news ? |
any update? im facing the similar issue |
I'm working on gradle project with the structure like below:
Java Test Runner can only recognize test on /test but not on /test-integration
The text was updated successfully, but these errors were encountered: