1. tests SHOULD use the demo data; it is there for demonstration and
testing, and not using it would make various test scenarios more
complicated, and also introduce more dependencies between test cases
(as data that could be simply used would also have to be prepared)
2. please don't use the ext-test data file group; all of the ext* file
groups are meant to be used by components added onto OFBiz, and not by
anything in OFBiz itself; generally the best place for this is in the
"demo" file group, as then the data can be used for manual testing and
demonstration in addition to automated tests
-David
On Mar 12, 2008, at 11:30 PM, Mridul Pathak wrote:
Hi All,
Here are some of my opinions for everyone in the community who
are working on JUnit Test Case implementation for various processes
in OFBiz:
1) While doing entry for any Test Data file in ofbiz-component.xml
use reader-name="ext-test".
2) While running test cases use following build target with ant:
"run-install-exttest".
3) These are the test case specific reader-name and target in OFBiz,
so I think it is more appropriate to use them.
4) While using the target "run-install-exttest", no OFBiz Demo Data
is uploaded to the database. So while preparing the Test Data make
sure that it has no dependencies on any Demo Data.
Any comments for improvement or correction in my thoughts are
appreciable.
--
Thanks & Regards
Mridul Pathak
Team Lead
HotWax Media Inc.
http://www.hotwaxmedia.com
[EMAIL PROTECTED]
_____________________________
Office : 509.855.4113
Mobile : +919425926892