Skip to content

Stage 16Web & Languages2nd EditionUnread

Python Testing with pytest: Simple, Rapid, Effective, and Scalable

A maintainable Python test suite grows from clear assertions, reusable fixtures, and deliberate test boundaries, with parametrization and automation keeping feedback useful.

Brian Okken · Pragmatic Bookshelf (2022) · ISBN 978-1-68-050860-4

  1. 076Assertions, exceptions, and test selection
  2. 077Fixture scopes, setup, and teardown
  3. 078Parametrization, markers, and reusable test cases
  4. 079Mocking, coverage, and debugging test failures
  5. 080Plugins, tox, and continuous integration
Python Testing with pytest: Simple, Rapid, Effective, and Scalable by Brian Okken