Re: Running ant run-single-test-suite on your own component

2010-06-14 Thread Guy Gershoni
Oh how embarrassing case sensitive. I had in ComponentTests.xml MyTests as name of suite... changed to mytests and works :-) Guy It does complain about not On 15 June 2010 12:34, Scott Gray wrote: > Hi Guy, > > It should work fine, I've used it in the past without any problems.  Some > th

Re: Running ant run-single-test-suite on your own component

2010-06-14 Thread Scott Gray
Hi Guy, It should work fine, I've used it in the past without any problems. Some things to check: - is your component called mycomponent in it's ofbiz-component.xml? - is the test suite correctly referenced in the ofbiz-component.xml? - is the test suite called mytests in the test suite file? -

Running ant run-single-test-suite on your own component

2010-06-14 Thread Guy Gershoni
Hi Guys, I am trying to run "ant run-single-test-suite" on a component I created using "ant create-component". I added a java file to the source which extends OFBizTestCase and referenced it in testdef/ComponentTests.xml as a junit test suite. I modified the build.xml build target to build and