Don't Make Me Laugh, My Coverage
summary
Coverage.py is explained: how it measures test coverage, where it fails and why. Mutation testing for Python is introduced as a practical way to evaluate test quality. The talk also covers property-based testing with Hypothesis, shows internals of Python libraries with examples, and mentions real-project applications.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 1:13MaxPatrol overview
- 2:19Code audit testing need
- 3:02Simple function testing
- 4:08Test coverage limits
- 5:13Line coverage issues
- 6:38Branch coverage issues
- 7:43Python coverage mechanics
- 11:37Coverage for complex constructs
- 13:10Mutation testing
- 14:14Python mutmut library
- 16:29Scaling mutation testing
- 17:32Hypothesis input generation
- 19:42Hypothesis behavior checks
- 21:08Bug fixes and retesting
- 21:55Testing tool limits
- 22:38Q&A: Why mutate all code
- 23:42Q&A: CI/CD integration
- 25:06Q&A: UI test coverage
- 25:53Q&A: Build agent usage
- 26:34Q&A: Mutation testing execution
- 27:15Summary
related talks
59mTesting in Python
45mMutation Testing in Python
57mMutation Testing in Python with Cosmic Ray
26mMashing up py.test, coverage.py and ast.py to take TDD to a new level
56mLightning Talks
12mDelete all code! 100% testing coverage, the lazy way!
14mAn Empirical Evaluation of Property-Based Testing in Python
41mProperty Based Testing in Python with Hypothesis
