just note under Eclipse you will get bunch of errors if the package does
not match the path.
if you do command line compile the class will not be in right path in
the /build/classes folder and hence in the jar.
There was talk on the develist about different loads so the test jars
are not loaded for production.
Erwan de FERRIERES sent the following on 8/1/2010 5:25 AM:
Le 01/08/2010 13:25, René Scheibe a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am not happy how I have to develop/test components in hot-deploy. It
does not encourage test-driven development. That's also reflected in the
quite low number of unit tests in the whole OFBiz system. :-(
1. What are the plans to migrate to JUnit4?
- - I just have seen a post about renaming tests
(http://comments.gmane.org/gmane.comp.java.ofbiz.devel/44766) but no
follow-up
- - if I want to migrate OFBiz to JUnit4 do you have any tips or is there
anything special I have to take care of?
Hi Rene,
One of the things which still needs to be done is separating test source
code from application code. At the moment, everything is still present
under src/org/ofbiz, instead of src/main and src/test.
This would be, from my POV, a very good improvement which could just go
in the right direction in adding more tests !!
Cheers,