Closed pagmoro closed 3 years ago
I'm unable to reproduce this.
Can you share a project that I can use to reproduce this?
With regards to the NPE, I can address this in the next release.
Thanks for the quick response. I built a sample project , and am only partially able to reproduce it Note that if I revert to 5.8.0 , I do not have any of these issues.
In the Actual Project : 1.) I get the "automation.RunCucumberTest > courgette.api.junit.Courgette.My Feature Demo SKIPPED" whether I run it as a gradle task independently via Command Line or through Intellij's gradle window. 2.) Even if the Test fails , I get the SKIPPED message and Intellij overall status is gray (skipped) 3.) Jenkins run is fine - I do not see the "SKIPPED" message in Jenkins logs
In the sample project: I cannot reproduced the SKIPPED log line. However , intellij still shows gray status and says "Tests ignored" when run with 5.8.1. I'm not sure what is adding the "SKIPPED" message in the actual project logs since in this case Intellij shows ignored even without the Skipped message in the logs.
Since Jenkins is fine , its not a major show stopper , however we cannot use this version as it would throw developers off. Perhaps something introduced in 5.8.1 is not compatible.
Some more info: Intellij version: 2020.3 Gradle version: 5.6.2
Ok, I think I may know why the result is reported as ignored
by the JUnit notifier.
Will resolve this in the next release - thanks.
@pagmoro Please try with version 5.9.0
. Tests are no longer marked as ignored
when using the JUnit runner.
Thank you @prashant-ramcharan , I will try this out. Is the NullPointer fixed too? It causes tests to fail sometimes.
Yes, the NPE should be fixed too but let me know if you come across any issues.
This one looks good as well - thank you for the quick turnaround!
Courgette-JVM Version: 5.8.1
When Test Suite is run individually , gradle reports the Feature as skipped.
Options:
When run as part of gradle build , build sometimes fails with following Exception