Openbravo Forum End of Life Notice

Dear Openbravo Forum User,

Because of continued very low usage we decided to stop the forums on 31st of August 2017

In case of questions: webmaster "at" openbravo.com

For running junit for particular module as ant task

<<

Varghese Renny

Posts: 25

Joined: Fri May 11, 2012 12:39 pm

Post Tue May 29, 2012 6:51 am

For running junit for particular module as ant task

Hi,
i am putting my junit test cases for my module under the src-test folder as you people mentioned in wiki.Now i want to run
what all test cases i am writing under src-test as ant task..Instead of running run as junit..i want to know what all modification i need to do on build.xml file for this?.........

Thanks
<<

Pablo Luján

Posts: 73

Joined: Wed Mar 18, 2009 7:26 pm

Post Wed May 30, 2012 10:18 am

Re: For running junit for particular module as ant task

Hi,

This wiki page describes the command line process for executing ANT tasks:

http://wiki.openbravo.com/wiki/ERP_2.50 ... mmand_line

Regards,
PL
<<

Varghese Renny

Posts: 25

Joined: Fri May 11, 2012 12:39 pm

Post Wed May 30, 2012 12:45 pm

Re: For running junit for particular module as ant task

Hi,
Suppose i am not using seperate repository for the module i am developing like the the link i u given..In this case there is no ant task like test.integration as mentioned..only run.tests ,run.quick.tests and run.all. But for the specific module i am developing where i put the test cases in src-test.

My question is like in the core erp ,inside the src-test AllTests.java where all the testclasses are adding..Like that whether i needed to add my test class inside that AllTests.java? or any other possibility is there to run modules->src-test->*.java file as ant test case.

Thanks

Return to Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Website Terms


Designed by ST Software for PTF.