Details
-
Improvement
-
Resolution: Fixed
-
Major
-
4.3
-
None
Description
In general we need to stop configuring JUnit tests by extending classes and instead only use the the Rule mechanism. This makes it easier to reuse rule in different contexts and allows tests to extend other tests more easily.
The new way to configure JMock for a test not testing components will be:
@Rule public final JMockRule mockery = new JMockRule();
Attachments
Issue Links
- relates to
-
XCOMMONS-319 Move all JMock-related classes to a jmock package in the Commons Test module
- Closed
-
XCOMMONS-320 Introduce a MockitoComponentMockingRule to replace AbstractMockingComponentTestCase
- Closed