April 28, 2003

Running JUnit test

The latest entry on Otaku, Cedric's weblog mentions JUnit and his woes with running them the way he wants (ie subsets of his suites).

We've run into this problem too and here is what we do : our tests are not organized in explicit suites at all. We use a common practice which is to organize the tests in a parallel structure to the classes they test. Then we can use to run tests in each module separatly. We do this when we test for regressions before commiting and for our automatic build.

For development, we have setup Eclipse to be able to run our tests : sometimes we need to tweak the classpath because we have a hierarchical classpath for our tests but it works really well. What does this buy us : we can run tests on classes, packages or even individual methods which is a real boon !

Otherwise, perhaps Artima's SuiteRunner can help ?

Posted by pgirolami76 at April 28, 2003 01:53 PM | TrackBack
Comments

My friend told me about your web site and I really enjoyed it. Very nicely done. Very interesting!

Online Casinos at Sexy Online Casino Course

Posted by: Online Casinos at Sexy Online Casino Course at May 31, 2004 09:57 PM

Never offer to teach fish to swim. (c)

Posted by: Enoch at June 14, 2004 01:45 AM

enjoyed reading your posts.

government grants

Posted by: government grants at July 27, 2004 01:13 PM

enjoyed reading your posts.

best online casinos

Posted by: best online casinos at July 31, 2004 03:37 PM

my friend told me about your web site and i really enjoyed it. very nicely done. very interesting!

best online casinos tips

Posted by: best online casinos tips at August 6, 2004 12:57 AM

congrats mate! fine job and fine site!

cash loan

Posted by: cash loan at August 7, 2004 11:43 AM

enjoyed reading your posts.

best online casinos

Posted by: best online casinos at August 7, 2004 11:43 AM
Post a comment









Remember personal info?