[Chicago] Jython and doctests
Kumar McMillan
kumar.mcmillan at gmail.com
Wed Jul 16 21:56:54 CEST 2008
On Wed, Jul 16, 2008 at 2:40 PM, Garrett Smith <g at rrett.us.com> wrote:
> I'm sure everyone's tired of my junit rants, but let me reiterate: I hate junit.
It's not along the lines of "doctest code" but have you seen TestNG?
http://testng.org/doc/ (Disclaimer: I have never written a lick of
Java in my life.) But looking at it, I think TestNG offers way more
power and elegance over JUnit. The downsides to it are that -- in
true Javanese -- it still makes some simple things complex and wants
to use XML for everything. However there are some really cool
features, most of which are implemented in nose [1] but some of which
I'd like to steal for [*ahem* port to] nose! One feature that would
be great for nose is how TestNG will dump an XML file of tests that
are failing, letting you re-run *just* the failing tests. Nose could
do this sans XML by hooking into the testid plugin [2] I think.
[1] http://somethingaboutorange.com/mrl/projects/nose/
[2] http://somethingaboutorange.com/mrl/projects/nose/doc/plugin_testid.html
I was telling a Java developer about TestNG the other day and he said
"yeah ... but ... JUnit works with Eclipse." And we stared at each
other blankly for a minute.
K
More information about the Chicago
mailing list