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'" <[EMAIL PROTECTED]>
<[EMAIL PROTECTED] cc:
m> 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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
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.