ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@rediffmail.com>
Subject "Test Skeleton Generator" follow up
Date Fri, 01 Jun 2001 18:11:30 GMT
I had submitted a task about a week back (http://www.mail-archive.com/ant-dev%40jakarta.apache.org/msg06330.html)

Since nothing was mentioned about it, I was wondering if any of the committers think would
be a useful task to maintain for 'people out there'.

I use this task in the following way:

The build compiles the Java source files first. This compilation task is followed by creation/updation
of Unit Test Source Code. If new classes/new methods have been checked in without any matching
unit test case code, the JUnitSkeletonGen task catches this and inserts skeleton test methods
into the Unit Test files (which fail by default). This task is followed compilation of the
Test cases, which is followed by execution of the test cases.

Naturally, if a developer has checked in some code without relevant unit test cases, the tests
will fail, letting the developer know that it needs to be 'fixed' by writing the Unit Test.

Opinions?

Thanks,
Magesh


_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





Mime
View raw message