I'd probably just put something into src/test/resources and use that. If you really want to test loading a resource contained in a Jar, there are many ways to do that. For example, you could use an existing Jar, deploy a Jar to a Maven/Ivy repository, or commit a Jar to source control and use a flatDir() repo to bring it in.
-- Peter Niederwieser Developer, Gradle http://www.gradle.org Trainer & Consultant, Gradleware http://www.gradleware.com Creator, Spock Framework http://spockframework.org -- View this message in context: http://gradle.1045684.n5.nabble.com/Approach-on-writing-a-unit-test-tp4385924p4386325.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
