Introduction to Unit Testing with PyTest
Unit Testing with UnitTest vs Unit Testing with PyTest
Writing Readable and Maintainable Tests
Using Mocks, Fakes and Stubs
Using Hooks, Assert Rewriting and Plug-ins
Streamlining Your Tests with Fixtures and Parameterized Testing
Obtaining the Desired Test Coverage
Generating Testable Documentation with Doctest
Integrating Python Unit Tests into a Continuous Integration (CI) Environment
Scaling Your Python Unit Tests
Use Python to Test Non-Python Applications
Summary and Conclusion |