Comments on Literate Testing with Doctest (Marius Gedminas)
It is Marius not Marcus
Anonymous · 2006-07-18T00:46:00
It is Marius not Marcus
I think you mean "Marius". :)
Benji York · 2006-07-18T03:20:00
I think you mean "Marius". :)
Thanks for pointing out the slides, Marius. It app...
Steve · 2006-07-18T06:23:00
Thanks for pointing out the slides, Marius. It appears I should be more careful with people's names when I blog from conferences ... sorry: as you can see I've corrected it now. Thanks for your talk.
When I need to step through code in a doctest, I u...
PJE · 2006-07-19T06:25:00
When I need to step through code in a doctest, I use:
>>> import pdb;pdb.set_trace(); foo()
And that drops me into the debugger. I can also stick a set_trace() anywhere in the code that's being tested, same deal.
I'd love to see a version of Fit that ran doctests instead of using HTML tables, and colorized its output, especially if it treated the doctest as reStructuredText. That would be cool, especially if I could just keep hitting reload in a web browser as I edited code and tests. Too bad I don't have time at the moment...
It is Marius not Marcus
Anonymous · 2006-07-18T00:46:00
It is Marius not MarcusI think you mean "Marius". :)
Benji York · 2006-07-18T03:20:00
I think you mean "Marius". :)Thanks for pointing out the slides, Marius. It app...
Steve · 2006-07-18T06:23:00
Thanks for pointing out the slides, Marius. It appears I should be more careful with people's names when I blog from conferences ... sorry: as you can see I've corrected it now. Thanks for your talk.When I need to step through code in a doctest, I u...
PJE · 2006-07-19T06:25:00
When I need to step through code in a doctest, I use:>>> import pdb;pdb.set_trace(); foo()
And that drops me into the debugger. I can also stick a set_trace() anywhere in the code that's being tested, same deal.
I'd love to see a version of Fit that ran doctests instead of using HTML tables, and colorized its output, especially if it treated the doctest as reStructuredText. That would be cool, especially if I could just keep hitting reload in a web browser as I edited code and tests. Too bad I don't have time at the moment...
Page 1 of 1
Back to post