On 24/02/2011, at 2:45 AM, Merlyn Albery-Speyer wrote:

> I have a plugin I'm working on, and as far as I can tell I can't make a 
> multiproject build where one subproject consumes the plugin artifact 
> generated by the other subproject. My thinking being that I would be able to 
> have an example project that would be tested automatically as part of my 
> plugin deployment process
> 

You don't necessarily need to make your example project part of the build. You 
could, instead, drive it from a unit test:

Project project = ProjectBuilder.builder().build()
project.apply from: 'path/to/example/build.gradle'

// make some assertions


> On Feb 23, 2011 7:28 AM, "Kolovos, Val (Orbitz)" <[email protected]> wrote:
> > On Feb 23, 2011, at 9:19 AM, Merlyn Albery-Speyer wrote:
> > 
> >> I have a follow-on question for all you plugin developers out there: what 
> >> are you doing to automate the testing of your plugin artifact from within 
> >> your plugin's build?
> >> 
> > 
> > I, for one, have TestNG tests that are executed as part of the release 
> > process.
> > 
> > Val
> > 


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com

Reply via email to