[Chicago] Jython and doctests
pfein at pobox.com
Wed Jul 16 22:00:38 CEST 2008
Have you just tried it? The doctest module is pure python. I don't
know much about it's internals (or diddly about Java), but it might
Just Work on Jython.
On Jul 16, 2008, at 3:40 PM, Garrett Smith wrote:
> 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>
>>> Has anyone out there seen Jython+doctests used as an alternative to
>>> massively sucky junit framework for testing Java apps?
>> Not sure if this is what you meant or not but I had heard that
>> 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
> Chicago mailing list
> Chicago at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chicago