<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Have you just tried it? &nbsp;The doctest module is pure python. &nbsp;I don't know much about it's internals (or diddly about Java), but it might Just Work on Jython.<div><br><div><div>On Jul 16, 2008, at 3:40 PM, Garrett Smith wrote:</div><br><blockquote type="cite"><div>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!)<br><br>I'm thinking of something quite different.<br><br>I'm sure everyone's tired of my junit rants, but let me reiterate: I hate junit. I'd like to test Java &nbsp;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.<br><br>This would be possible with jpype, but that introduces CPython into the mix, which isn't needed in this case.<br><br>----- "Kumar McMillan" &lt;<a href="mailto:kumar.mcmillan@gmail.com">kumar.mcmillan@gmail.com</a>> wrote:<br><br><blockquote type="cite">On Wed, Jul 16, 2008 at 8:30 AM, Garrett Smith &lt;<a href="mailto:g@rrett.us.com">g@rrett.us.com</a>><br></blockquote><blockquote type="cite">wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Has anyone out there seen Jython+doctests used as an alternative to<br></blockquote></blockquote><blockquote type="cite">the<br></blockquote><blockquote type="cite"><blockquote type="cite">massively sucky junit framework for testing Java apps?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Not sure if this is what you meant or not but I had heard that<br></blockquote><blockquote type="cite">someone<br></blockquote><blockquote type="cite">ported Doctest to Java. &nbsp;This was the first Google hit:<br></blockquote><blockquote type="cite"><a href="http://code.google.com/p/doctestj/">http://code.google.com/p/doctestj/</a> ... but if that is it then I'm<br></blockquote><blockquote type="cite">afraid they missed the point of Doctest entirely :(<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Chicago mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Chicago@python.org">Chicago@python.org</a><br></blockquote><blockquote type="cite"><a href="http://mail.python.org/mailman/listinfo/chicago">http://mail.python.org/mailman/listinfo/chicago</a><br></blockquote>_______________________________________________<br>Chicago mailing list<br><a href="mailto:Chicago@python.org">Chicago@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/chicago">http://mail.python.org/mailman/listinfo/chicago</a><br></div></blockquote></div><br></div></body></html>