| Class | Description |
|---|---|
| JUnit3ErrorTranslator |
Translates
ExpectationErrors into JUnit's
AssertionFailedErrors. |
| JUnit3Mockery |
A
Mockery that reports expectation errors as JUnit 3 test failures. |
| MockObjectTestCase |
A
TestCase that supports testing with mock objects. |
| VerifyingTestCase |
A
TestCase that verifies postconditions after the
test has run and before the fixture has been torn down. |
Integrates jMock with JUnit 3.
To write a mock object test in JUnit 3, extend MockObjectTestCase.
Any mock objects used in the test will be verified after the test has run and before the
fixture is torn down.