-
Notifications
You must be signed in to change notification settings - Fork 70
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
Native plugin fails if no tests are run in a module #188
Comments
Hi @sbrannen, thanks again for a great product! Just checking in, do we have any updates on this issue? |
@sbrannen I have taken a look at this. The problem in the reproducing example is that I find it more appropriate to just warn about it and let the reactor execution continue. What do you think? |
Applicable to Gradle as well:
|
Yes, just warning about the situation would be better. In any case, a multi-module/project build (Maven or Gradle) should not fail if some of the modules/projects don't have tests. |
The native-maven-plugin will fail if no tests are run for some module after running
mvn test -Pnative
. It fails with the error "Test configuration file wasn't found. Make sure that test execution wasn't skipped." (No test config file will be written if no tests are run)Error:
Repro: https://github.com/dzou/native-plugin-empty-tests
I would expect the tests to just pass if no tests are run. This is important for multi-module projects because we use a test-filter which only runs native-image integration tests, and in multi-module projects, not all modules have native-image tests. It would then be useful in these cases to have the tests to pass if there's no tests that are run for some module.
The text was updated successfully, but these errors were encountered: