Russel Winder wrote: <clip>
Actually I am not sure I want to change the test phase, what I want to do is have a proper integration/system test phase (which Maven doesn't have despite the integration-test phase). If I look at what I have as unit tests in Gant, it is clear that some are unit tests in the classic sense, and some are integration tests. The standard model has forced me to lump them all together and it is this that is causing me the problems. I need to separate out the real unit tests (which can happily be compiled in the classic "against the directory" mode) from what are really integration and system test, for which Eclipse, IntelliJ IDEA, Maven, and I suspect Gradle, have no real support.
Although the Java plugin in gradle doesn't add an integration test task automatically, you can certainly add one yourself. This is what we have done for our in house projects using gradle (and what gradle does in its own build). An integration test task can depend on the jar task and can use the resulting jar instead of the class file directory.
-- Steve Appling Automated Logic Research Team --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
