Ian Bicking

Results 190 issues of Ian Bicking

doctest is a good pattern for testing, but the library hasn't been modernized and updated in reaction to the challenges of actually using it for testing.

Sphinx has some doctest markup: http://sphinx.pocoo.org/ext/doctest.html doctest2 should support some of the same markup.

MOE helps maintain patches against different code bases (specifically Python 2 and 3). It should help here too.

`doctest.js` has a model for async testing. Maybe it's usable in Python too?

Right now all the tests in a file turn into a single monolithic `unittest.TestCase`. It should be a Suite instead.

It would be neat to make a nice HTML page from failed tests.

Right now there's no way to distinguish stdout from repr output. There should be; maybe only noticeable in a failed test.

Right now only `...` is allowed. It always is greedy and matches multiple lines. Also it conflicts with the continuation prompt. I'd like to add perhaps more detailed or specific...

I'd like to allow a simple period on a line by itself to be equivalent to ``. Another option is to even allow blank lines, and what would currently be...

It should be possible to tag a block as being specific for a Python version (or range), so you can adjust to changes in Python versions (like changes in an...