2009/9/21 Steve Appling <[email protected]>
> I don't think it has this yet. It has been asked for before -
> http://jira.codehaus.org/browse/GRADLE-133.
>
> I too, would love this. I find that I end up doing this through my IDE
> instead of through gradle.
>
> I have been thinking about how to do this, I was thiking along the
following lines:
- only execute a single test:
gradle test(test.XXTest)
- execute all tests extending a base class:
gradle test(test.AbtractXXXTest+) -- don't know if a plus sign is best
perhaps a minus sign is more appropriate
or
gradle test(test.AbstractXXXTest-)
- execute all tests in a package:
gradle test(org.gradle.*)
gradle test(org.gradle.**) -- including contained packages
or a combination of them separated by comma's:
gradle test(test.XXTest,test.YYTest,org.gradle.**)
but we'd need to make our command line handling a lot more complex and I
don't think jopt-simple or commens-cli is able to let us do this.
Russel Winder wrote:
>
>> Does Gradle have the ability to run individual specified tests out of
>> the box, or does this have to be programmed by each and every user? If
>> the latter then I think requesting the former would be a good idea. If
>> the former is already true, then can someone give me a reference.
>>
>> Thanks.
>>
>>
> --
> Steve Appling
> Automated Logic Research Team
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>