You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👍 I also run into this issue -- I copy pasted my test code in the describes while experimenting with the library, but then was seeing that no tests run on the output, which was a bit confusing.
works completely fine in TestNG, and does not cause the build to fail.
I think the Specnaz integrations should behave similarly to the framework their integrating with - so, my instinct is to fail the build in the JUnit Runner if no tests were found, but ignore it in the TestNG Factory.
In specnaz the following code results in "no test found" and a sucesful build.
This is the IntelliJ output:
If we run it as part of a bigger test set, the result is similar.
Should we make the test fail if the discovery phase results in zero tests?
For reference, if you add a test in JUnit and you mark it as ignored, it's effectively the same.
The output for this method is the following.
The text was updated successfully, but these errors were encountered: