Details
-
Suggestion
-
Resolution: Fixed
-
None
-
None
Description
Support detection of:
@org.junit.Test(expected=MyException.class)
@org.testng.annotations.Test(expectedExceptions=
@org.testng.annotations.Test @org.testng.annotation.ExpectedExceptions({MyException.class,MyOtherException.class}
)
Ensure instrumented test methods that capture test results do not flag these exceptions as test faiiures/errors. Also ensure these test methods flag the absence of the exceptions as test failures.