It appears that our current unit test run excludes all of the "base" unit
testers.  Two reasons I have found ...

1) basetests.xml was coded as a test-case but attempted to have multiple
junit-test-suite elements in it (it is only allow to have one).  Changing
this to a test-group would ensure that they are loaded.

2) ComponentConfig.getAllComponents was not including the "base" component. 
Tracked this down to framework/component-load.xml not including it.  My
guess is that there is probably a reason for this; but I don't know what it
could be.

This may also be the reason why the code coverage metrics are inaccurate
when you run from the top.  I have executed on my dev machine w/o code
coverage, and the tests all passed increasing the # from 216 to 269.

If there is no known reason, I would like to submit these two changes as a
patch.
-- 
View this message in context: 
http://n4.nabble.com/Why-does-framework-component-load-xml-does-not-include-base-tp1759711p1759711.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to