Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-beta-3
-
Labels:None
-
Environment:Maven version: 2.0.6
java full version "1.5.0_11-b03"
-
Number of attachments :
Description
I attempted to add a FIT fixture to the src/test/resources, and a fixture class under test to src/test/java. However the test failed because the FitRunner did not include test-classes in its classpath.
The site documentation mentions the classpathElements variable, but this variable is read-only.
The attached patch removes this readonly limitation, and sets the default to project.testClasspathElements which I consider more relevant for a test-centric Mojo.
Fix applied - thanks!