Tuesday, December 06, 2005

Nose 0.8

I've just released a new version of nose, 0.8. This release includes, among other changes, one major bug fix, two new features, and an experimental behavior change:
  • Previous releases would not run module-level setup and teardown functions correctly if the setup function was named 'setup' or 'setUp'. Thanks to Titus Brown for finding the bug.
  • Nose now finds and runs doctest tests in non-test modules that it loads. Thanks to Kevin Dangoor for the suggestion.
  • If you have Ned Batchelder's coverage module installed, nose can append a coverage report to the test run output.
  • nose.main() no longer exits; instead it returns a true value on test success and false on failure. Thanks to Wesley Augur for the suggestion.
Read more about nose here.