
Feb. 27, 2012
7:25 p.m.
On Fri, Feb 17, 2012 at 9:23 PM, Ian Bicking <ianbicking@gmail.com> wrote:
Yeah, I kinda agree, but in this case the doctests are always confined to the same module (or class) and have a standardized location, so always near at hand (at least if you're using them well) if you want to see what a variable used in a sub-test has been defined.
Yeah, doctests has these (globs and M.__test__), it's just that it takes you out of the mode of "executable documentation" and becomes less fun.
Yes, but then this gets more into "my" idea of making a test() builtin, like help(). In that case, you could do fancy stuff where you wouldn't even have to test string output. Cheers, mark PS. Darn, I hate when I forget to reply-all...
4769
Age (days ago)
4769
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Janssen