Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0-RC2
-
Fix Version/s: 2.1.0
-
Component/s: Build: Integration Tests, Build: Libraries / Dependencies
-
Labels:None
-
User impact:Low
-
Similar Issues:None
Description
Right now the TCK classes reside in core/src/main/java. This is for historical reasons, see MULE-975 for some explanations.
In order to clearly separate unit tests and regular Mule classes implemnt the following approach:
- move TCK classes to core's src/test/java
- move abstract test case's currently in org.mule.tck in core to appropriate packages e.g. AbstractTransformerTestCase -> org.mule.transformer
- core produces a test-jar that contains all the unit test classes along the regular jar
- other modules that need the TCK classes add a dependency on core with <type>test-jar</type>
The work is basically done but I'm keeping the issue open until everything is merged over from the refactoring branch to the 2.x mainline.