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 <main-jar/> and <test-jar/>.

But when I run "ant run-single-test-suite -Dtest.component=mycomponent
-Dtest.suiteName=mytests" I get the following:

org.ofbiz.base.start.StartupException: Cannot start()
org.ofbiz.testtools.TestRunContainer (No tests found (mycomponent /
mytests / null))

Do I need to modify something to include the test jar or something?

Guy

-- 
Guy Gershoni
Conchus
Email: g...@conchus.com
Web: www.conchus.com

Reply via email to