On 6/04/10 6:06 AM, Russel Winder wrote:
Various tests relating to the Gant Ant task have been proving
troublesome in that they worked on my machine but not on Bamboo.  My
solution is to partition the problematic tests off and have them
categorized as "integration tests" not "unit tests".  The rationale
behind this works for me :-)  So what is the Gradle question?

Has anyone got any examples of having partitioned unit tests and
"integration tests" that works well.  The "integration tests" in the
Gradle build are extremely inscrutible, not to mention arcane.  The
manual has no examples of "integration tests" except to mention a
sample.  Sadly the sample in trunk is fundamentally vacant.

How so? It's got unit tests in src/test/java, and integration tests in src/integration-test/java. The integration tests have a separate compile and runtime classpath, which inherit from the unit test compile and runtime classpaths, which inherit from the production compile and runtime classpaths. What more do you need?


--
Adam Murdoch
Gradle Developer
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to