| Apparent Maven / JUnit clash in eclipse [message #569227] |
Sun, 24 May 2009 21:06 |
BenH Messages: 39 Registered: July 2009 |
Member |
|
|
Maven likes to compile test code to /target/test-classes
This isnt part of the default Build Path.
When eclipse's JUnit launcher runs, it doesnt include /target/test-classes
in its classpath, and no test classes are found.
My workaround is to add /target/test-classes to the Run Classpath of my
unit test launch shortcut.
Plus, Ive found I need to run mvn compiler:testCompile manually, because
the eclipse builder seems not to (always) build that folder automatically?
It would be nice to get better integration here eventually.
-Ben
|
|
|
Powered by
FUDForum. Page generated in 0.05558 seconds