python-mock-comparison icon indicating copy to clipboard operation
python-mock-comparison copied to clipboard

Convert to unit tests

Open garybernhardt opened this issue 14 years ago • 0 comments

Maintaining this documentation as a doctest hasn't turned out very well. Some examples aren't illustrative because they don't represent realistic use cases. Everything is fragile because it's all mixed into one environment.

Instead, let's turn them all into standard unittest classes. We'll need to parse the test files to generate the documentation. Comment markers in the test files are probably easier than trying to parse the test methods out directly.

garybernhardt avatar Mar 16 '11 01:03 garybernhardt