David E Jones wrote:
With MySQL, all the tables also need to be dropped before re-running the tests; otherwise one test case would fail. It doesn't happen with Derby though.For the current tests to run successfully you must have a fresh database with the OOTB demo data in place before testing each component. That means something like "ant clean-all; ant run-install; java -jar ofbiz.jar tests component=XXX; ant clean-all; ant run-install; java -jar ...; ...".
-Robert
