Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 36731 invoked by uid 500); 12 Jun 2001 13:49:51 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 36710 invoked from network); 12 Jun 2001 13:49:47 -0000 content-class: urn:content-classes:message Subject: RE: "Test Skeleton Generator" follow up MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Date: Tue, 12 Jun 2001 08:49:17 -0500 Message-ID: <3B2485FD3A5C2A418C6BDD2F43E024131CFF66@dmi-exch.demandsolutions.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: "Test Skeleton Generator" follow up Thread-Index: AcDqxcU63XGNt6S2Ra65IwKNZOTefAIgI0iw From: "Chris Greenlee" To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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:umagesh@rediffmail.com] > Sent: Friday, June 01, 2001 1:12 PM > To: ant-dev@jakarta.apache.org > Subject: "Test Skeleton Generator" follow up >=20 >=20 > I had submitted a task about a week back=20 > (http://www.mail-archive.com/ant-dev%40jakarta.apache.org/msg0 > 6330.html) >=20 > Since nothing was mentioned about it, I was wondering if any=20 > of the committers think would be a useful task to maintain=20 > for 'people out there'. >=20 > I use this task in the following way: >=20 > The build compiles the Java source files first. This=20 > compilation task is followed by creation/updation of Unit=20 > Test Source Code. If new classes/new methods have been=20 > checked in without any matching unit test case code, the=20 > JUnitSkeletonGen task catches this and inserts skeleton test=20 > methods into the Unit Test files (which fail by default).=20 > This task is followed compilation of the Test cases, which is=20 > followed by execution of the test cases. >=20 > Naturally, if a developer has checked in some code without=20 > relevant unit test cases, the tests will fail, letting the=20 > developer know that it needs to be 'fixed' by writing the Unit Test. >=20 > Opinions? >=20 > Thanks, > Magesh >=20 >=20 > _____________________________________________________ > Chat with your friends as soon as they come online. Get Rediff Bol at > http://bol.rediff.com >=20 >=20 >=20 >=20 >=20