A Python Decorator to Mark Nose Tests as Work in Progress

For a recent Python project, I wrote a little function decorator to mark Nose tests as work in progress. If the test fails, Nose will mark it as skipped. Nose will report a failure if it passes while still marked as work in progress. The decorator lets you check acceptance tests into version control while you work on making them pass, as was recently discussed on the GOOS mailing list.

Copyright © 2011 Nat Pryce. Posted 2011-05-30. Share it.

Comments powered by Disqus