[Chicago] Jython and doctests

Garrett Smith g at rrett.us.com
Wed Jul 16 21:40:08 CEST 2008

Wow -- another hideous offspring of the genetically malformed (talking about the constraints of Java - not the good folks trying to make the best of it!)

I'm thinking of something quite different.

I'm sure everyone's tired of my junit rants, but let me reiterate: I hate junit. I'd like to test Java  by writing "doctest code" in a txt file that uses Jython's standard interface into the VM. I was wondering if any of our resident Jython users have seen/heard of this.

This would be possible with jpype, but that introduces CPython into the mix, which isn't needed in this case.

----- "Kumar McMillan" <kumar.mcmillan at gmail.com> wrote:

> On Wed, Jul 16, 2008 at 8:30 AM, Garrett Smith <g at rrett.us.com>
> wrote:
> > Has anyone out there seen Jython+doctests used as an alternative to
> the
> > massively sucky junit framework for testing Java apps?
> Not sure if this is what you meant or not but I had heard that
> someone
> ported Doctest to Java.  This was the first Google hit:
> http://code.google.com/p/doctestj/ ... but if that is it then I'm
> afraid they missed the point of Doctest entirely :(
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago

More information about the Chicago mailing list