-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Testng does not fail when step is not not found #665
Comments
cc @martykube |
I've added the following at the end of TestNGCucumberRunner.runCukes():
The exit status will contain error if there are actual errors or if in strict mode and there is undefined or pending class. Maybe good to port this back to codebase? |
+1 |
Can someone send a pull request please? |
Actually this problem is fixed as a small part of #653. This latest version of that PR is in this branch, where I fixed my own comments on it. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm having the following class to run the cukes tests:
public class RunCukesTest extends AbstractTestNGCucumberTests {
}
Note that strict is set to true.
When I run the this class using the testng Eclipse plugin it reports green.
But when I look at the generated reports I see it could not found the matcher and that other steps are skipped.
I've used a similar test case with JUnit and then the tests fails as expected.
Is this a bug with testng integration or am I missing something here?
The text was updated successfully, but these errors were encountered: