Test for the flows in case an exception occurs in one of the listener or test methods for JUnit3 (
UnitilsJUnit3 ),
JUnit4 (@link UnitilsJUnit4TestClassRunner}) and TestNG (
UnitilsTestNG ).
Test for the main flow of the unitils test listeners for JUnit3 (
UnitilsJUnit3 ),
JUnit4 (@link UnitilsJUnit4TestClassRunner}) and TestNG (
UnitilsTestNG ).
Except for some minor differences, the flows for all these test frameworks
are expected to be the same (see
UnitilsInvocationTest.assertInvocationOrder .
3 tests are performed: TestClass1 and TestClass2 both with 2 test methods and EmptyTestClass
that does not contain any methods.