You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Jeff Lowery <je...@mavericklabel.com> on 2012/05/04 18:10:21 UTC

Ant run-test-list target

I want to run multiple unit tests as part of a daily build process.  I've found the ant target 'run-test-list' in build.xml, which invokes another ant target 'all-tests' in test-list-build.xml.   I don't have test-list-build.xml, and I've not had any luck finding an example that would indicate what the syntax is.  


Jeff Lowery
jeff.l@mavericklabel.com




Re: Ant run-test-list target

Posted by Jeffl <je...@mavericklabel.com>.
Okay, so it's just another ant build file which will somehow execute test
targets in the main build via dependencies/calls to those targets.  It's
been awhile since I've played around with ant, but it doesn't sound too
hard. Thanks for clarifying.

-- Jeff

--
View this message in context: http://ofbiz.135035.n4.nabble.com/Ant-run-test-list-target-tp4609039p4615489.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Ant run-test-list target

Posted by Pierre Smits <pi...@gmail.com>.
Jeff,

./ant -p will give you alle ant targets you can execute, but it won't give
you the unit tests that are available in OFBiz. But it will tell you how to
kick off test suites and individual tests.

If you want to find out what test suites and unit tests are available, you
have to look inside each test definition in the testdef folder of each
application and/or component.

Regards,

Pierre

2012/5/5 Jacques Le Roux <ja...@les7arts.com>

> There is a simple syntax (not specific to OFBiz):
>
> ant -p
>
> There you will find easy examples to follow
>
> Jacques
>
>
> From: "Jeffl" <je...@mavericklabel.com>
>
>  Release.revision?
>>
>> 1104
>>
>>
>>
>> --
>> View this message in context: http://ofbiz.135035.n4.nabble.**
>> com/Ant-run-test-list-target-**tp4609039p4609344.html<http://ofbiz.135035.n4.nabble.com/Ant-run-test-list-target-tp4609039p4609344.html>
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>

Re: Ant run-test-list target

Posted by Jacques Le Roux <ja...@les7arts.com>.
There is a simple syntax (not specific to OFBiz):

ant -p

There you will find easy examples to follow

Jacques


From: "Jeffl" <je...@mavericklabel.com>
> Release.revision?
> 
> 1104
> 
> 
> 
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Ant-run-test-list-target-tp4609039p4609344.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Ant run-test-list target

Posted by Jeffl <je...@mavericklabel.com>.
Release.revision?

1104



--
View this message in context: http://ofbiz.135035.n4.nabble.com/Ant-run-test-list-target-tp4609039p4609344.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Ant run-test-list target

Posted by Jacques Le Roux <ja...@les7arts.com>.
Release.revision?

Jacques

Jeff Lowery wrote:
> I want to run multiple unit tests as part of a daily build process.  I've found the ant target 'run-test-list' in build.xml,
> which invokes another ant target 'all-tests' in test-list-build.xml.   I don't have test-list-build.xml, and I've not had any
> luck finding an example that would indicate what the syntax is.  
> 
> 
> Jeff Lowery
> jeff.l@mavericklabel.com