Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 7270 invoked from network); 26 Mar 2003 16:46:42 -0000 Received: from smtp5.uk.deuba.com (HELO imr5.srv.uk.deuba.com) (160.83.34.38) by daedalus.apache.org with SMTP; 26 Mar 2003 16:46:42 -0000 Received: from sdbo1003.db.com by imr5.srv.uk.deuba.com id h2QGkhaN000465; Wed, 26 Mar 2003 16:46:44 GMT Subject: RE: Artima SuiteRunner Task To: "Ant Developers List" X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: "Nathaniel Spurling" Date: Wed, 26 Mar 2003 16:46:42 +0000 X-MIMETrack: Serialize by Router on sdbo1003/DMGUK/DeuBaInt/DeuBa(Release 5.0.12 |February 13, 2003) at 26/03/2003 04:46:44 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Regarding suiterunner vs JUnit, I prefer the suiterunner API: test methods can throw Exceptions, also assertion failures generate Exceptions so you can put one catch(Exception) at the bottom of your method and print out any useful info before throwing the exception on, rather than separate ones for AssertionFailedError and Exception which looks very messy. Alternatively you can leave out the try/catch altogether - saves typing if you just want the stacktrace -- I Don't find the failures/exceptions distinction useful in JUnit. don't have to call super(String) - me being lazy again which tests run can be determined by a property file so if you want to run just a few tests out of a suite you don't need to recompile/comment out bits of code can also put classpath info in the property file, which seems better than adding it to your junit script or CLASSPATH flexible reporting of results - which you already mentioned - and which I haven't used... Nat Dominique Devienne To: "'Ant Developers List'" Subject: RE: Artima SuiteRunner Task 26.03.2003 15:19 Please respond to "Ant Developers List" Could someone please explain me what SuiteRunner brings to the table that JUnit doesn't???? I've looked at it quite a bit, and maybe beside better reporting, I don't see anything compelling about it compared to JUnit, and even loose the built-in assert methods of TestCase (thru Assert)... I'd be interested in knowing what other see in it. Thanks, --DD -----Original Message----- From: Adam Duffy [mailto:aduffy@cs.may.ie] Sent: Wednesday, March 26, 2003 5:09 AM To: Ant Developers List Subject: Artima SuiteRunner Task Hi All, (Please forgive my newbie-ness). I have developed an Ant Task for the Artima SuiteRunner and I'd like to submit it. Perhaps a Committer might a respond directly and I'll e-mail them a zip file containing the code? (Didn't want to send a zip file to a few hundred people...!) Thanks, Adam Duffy Crypto Group Computer Science Dept NUI Maynooth --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.