Python testing
From wikinotes
See Programming: Testing for best practices.
Test Frameworks
python pytest framework/runner for testing. very useful python unittest builtin testing framework.
Mocking
python mock mock objects for better isolation
Test Matrices
python tox run configurable test-runner in multiple versions of python
Test Coverage
python coverage produce reports on your test coverage