On 20/07/2011, at 6:28 AM, phil swenson wrote:

> I am starting to write a true integration test for my gradle plugin.
> Unit tests aren't really cutting it for me.....
> 
> What are people doing for this?  Has anyone tried leveraging Spock for
> one of these?  I saw Peter's presentation on Spock last week at
> UberConf and am completely sold :)
> 
> Anyone have any links on this subject?  Google hasn't been very
> helpful, this seems to be a niche topic.


Unfortunately there is no support for this right now. The Gradle build itself 
has reasonably comprehensive fixtures for doing this, but they are not really 
suitable for use outside of that build for a number of reasons. One of the 
highest post 1.0 priorities is to provide support for the plugin/addon 
development life cycle which includes integration testing.

So for right now, the simplest approach is to exec a gradle build and scrape 
the output and look around to see what happened. I'm not aware of any examples 
of this sorry.

If you want to track this issue, it's 
http://issues.gradle.org/browse/GRADLE-1619
 
-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com


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

    http://xircles.codehaus.org/manage_email


Reply via email to