Skip to content

wapcaplet/doctest2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doctest2

This project is an effort to make Python's doctest module more awesome.

Goals

  • Iron out some of the wrinkles and warts in Python's doctest
  • Retain backward compatibility with existing doctest behavior
  • Distribute as a package installable with pip
  • Eventually propose a merge into the standard Python distribution

Plan

  • Use doctest-driven development
  • Initially +SKIP any features that aren't implemented
  • Take out +SKIP directives as things get finished

Testing

Testing is mostly done with nose at the moment. Tests are in the tests directory, and nose configuration is in setup.cfg. Run nose like this:

$ nosetests

There is also a quick-and-dirty test.py script designed to cover the doctest2.py file itself, as well as the tests/rst/*.rst files that describe new features. These should be merged into the nose tests if possible.

Credits

License

This software is licensed under the Python Software Foundation License (PSFL).

About

Improvements to the doctest standard library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages