Class | Description |
---|---|
JUnit3ErrorTranslator |
Translates
ExpectationError s into JUnit's
AssertionFailedError s. |
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.
Copyright © 2003–2018 jMock. All rights reserved.