Open jensenbrian opened 1 month ago
I found in the changelog: 6.6.0 (released 08.06.2022)
Looks like with the 7.0.0 release - bump TestNG from 7.4.0 to 7.8.0 (#2515)
I recently updated from 6.19.1 to 7.3.2 Could this still be broken in TestNG? If so should TestNG be downgraded back to 7.4.0?
I will see if I can figure out how to try that. Thank you for your thoughts/review
Thanks @BorisOsipov . Looks like the "right" fix mentioned in #3046 is to use TestNG 7.10.0 and "Ordering listeners in TestNG" documented in Specifying listeners with ServiceLoader
I will see what I can do. "I am working on it"
The problem
In Soft Assert mode with a FAIL step is not marking the whole test as FAILED
Details
Running the
TestNgSoftTest.textArea()
in SOFT mode with an added line that will fail. The build is marked as "BUILD SUCCESSFUL". (see branch testng-softassert-not-failing HERE)Running the same change made to
TestNgSampleTest.textArea()
in STRICT mode. The test does stop processing and marks the build as "BUILD FAILED". (This is not an issue. Working as expected.)Tell us about your environment
Code To Reproduce Issue
modules/testng/src/test/java/integration/TestNgSoftTest.java