Actually, this seems like a very useful utility. Not being a committer, I have no say whether it goes into the product, but I wouldn't be upset to see it added to the unit testing tasks within ant.
Chris Greenlee > -----Original Message----- > From: Magesh Umasankar [mailto:[EMAIL PROTECTED] > Sent: Friday, June 01, 2001 1:12 PM > To: [EMAIL PROTECTED] > Subject: "Test Skeleton Generator" follow up > > > I had submitted a task about a week back > (http://www.mail-archive.com/ant-dev%40jakarta.apache.org/msg0 > 6330.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 > > > > >
