On 24/03/10 1:20 AM, Lars Heuer wrote:
Hi all,

I receive a lib from a Maven repository and I want to execute the
tests in the lib in addition to my own tests. How can I convince
Gradle (0.8) to execute the tests from the jar?


The test task will only scan a single directory for tests. There's no good reason for it to not scan multiple directories or to not scan jars, we just haven't implemented it. Could you add a JIRA issue for us to fix this?

In the meantime, the only thing you can really do is to unzip the jar into a temporary directory, copy your test classes into there, and then point the test task at the temporary directory.


--
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