-
Notifications
You must be signed in to change notification settings - Fork 180
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
Build passes when spek fail to discover tests #817
Comments
This should be fixed by using the latest version of JUnit Platform. I'm quite busy at work at the moment, I'll probably have some time to take a look during the weekend. |
@raniejade We are already using junit5 version I just tried upgrading to So, unfortunately, this seems to not resolve the issue. |
This is the relevant issue on JUnit Platform junit-team/junit5#1909, looks like it should be fix in |
@raniejade Yes, I think this is related and relevant, thanks for the links. |
The relevant part from the junit 5.6.0-M1 release notes:
|
I can confirm that junit5 in version 6.6.0-M1 resolves the issue when triggering the tests via IntelliJ (not delegating the test run to gradle). With latest gradle version 5.6.3 we don't have the upgraded tooling yet, so the build does not fail yet. As documented in junit-team/junit5#2028 |
I'll move this to |
Hi,
When Spek fails to discover tests, it let the build be successful.
We observed the following log when running from gradle with
--debug
*:*Note that without using
--debug
we were completely blind to it. The only indication we had is the low number of executed tests (which are only Junit5 tests running successfully).We'll continue investigate to see if solutions proposed in #801 helps us fix the problem.
But the build should definitely fail. Not pass.
The text was updated successfully, but these errors were encountered: