You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by David Bau <da...@bea.com> on 2003/10/29 17:54:03 UTC
Regression test hookup
Regression testing...
A bunch of code has been getting checked in to v2, but not yet
hooked up to the "ant drt" target. (I'm guilty of this myself.)
So when I refactored some of the new code yesterday I didn't
have an easy way to verify that the new code was still running.
Can I ask anybody who's been checking in new code recently
to make sure any test code you've got is included in "ant drt"?
The easiest way to do this is:
(1) Add your test cases as a plain-jane junit test suite under
v2/test/src/drt/drtcases
(2) If you need to read supporting files in the case, use
TestEnv.xbeanCase("dir/filename")
to access files you check into v2/test/cases/dir/filename
(3) Add your test suite to the overall suite in
test/src/drt/drtcases/SmokeTests.java.
I'll do this for my own new-code tests next time I check in.
Thanks a ton,
David
- ---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/