I think junit is fairly easy to use. The trickiest part for me was figuring out when setUp() and tearDown() are called and why. Once that brick connected with my skull it all made sense ;)
================================================================= Jeffrey D. Brekke Quad/Graphics [EMAIL PROTECTED] http://www.qg.com > -----Original Message----- > From: Humberto Hernandez Torres [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 20, 2002 4:17 PM > To: Turbine Maven Users List > Subject: RE: junit fixtures > > > For its simplicity I like the test harness used in Perl > modules in CPAN. > Every program in the test directory is a test program. The > only thing every > program needs to do is print the number of tests and then an > ok/not ok line > of each ... and the make file does the rest magically. > > Example. > 1-5 > 1 ok > 2 ok > 3 ok > 4 not ok > 5 ok. > > This way the test harness know how many tests are supposed to > be, which > passed and which failed, how long did it take them to run, > etc. And it is > VERY easy, you don't need to remember any special methods or > inherit from > any classes. > -- > Humberto > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
