You can now run single tests by calling the single-test target and passing the class of the test you want to run as the property "testcase" for eg. C:\myprogs\projects\poi\jakarta-poi>build single-test - Dtestcase=org.apache.poi.hssf.usermodel.TestFormulas
Nikola, the compile-test should probably be a separate target in junit.cent (with accesibility from build.xml).. i could then just reuse it. I also wanted to reuse the classpath used, rather than having to type it many times .. however, since it contains properties that are loaded inside the init target, the standard way of having a global path structure that u reuse does not work. so u end up duplicating. I am also planning at having the functionality of adding known failing testcases to the repository, that wont get executed on the standard "test" target. Given the XP way of the test being the best spec, and the open source necessity that there will always be a gap between a bug report and a fix, I think this is an useful functionality to add. To get this done, i might have to move the test target from the junit.cent to our own build.xml, unless centipede provides such functionality soon. In any case, my preference would be that the compile and test targets be under our control in our own build file, while delegating other tasks to centipede. I think the idea behind centipede is to use it as a starter project, and then customize from there ... no? Regards - Avik Ps. this mail turned out to be longer than i thought ..... :( Quoting [EMAIL PROTECTED]: > avik 02/05/29 07:37:37 > > Modified: . build.xml > Log: > added the ability to run tests one at a time > > Revision Changes Path > 1.30 +103 -0 jakarta-poi/build.xml > > Index: build.xml > =================================================================== > RCS file: /home/cvs/jakarta-poi/build.xml,v > retrieving revision 1.29 > retrieving revision 1.30 > diff -u -r1.29 -r1.30 > --- build.xml 28 Apr 2002 21:42:06 -0000 1.29 > +++ build.xml 29 May 2002 14:37:37 -0000 1.30 > @@ -373,5 +373,108 @@ > --> > > &import-antipede; > + > + <!-- ================================== --> > + <!-- POI specific extensions to the the build file --> > + <!-- ================================== --> > + > + -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
