26 — Testing & Debugging¶
Testing and debugging: pytest, debuggers, and profiling.
Scope¶
Cheat sheets for verifying and fixing code, plus structured diagnostics. CI automation belongs to 16-DevOps.
Status: 4 sheets complete.
Cheat Sheets¶
- Python Testing — assertions, doctests, unittest, test organization
- pytest — fixtures, parametrize, mocking, markers, tmp_path, conftest
- Debugging — pdb, breakpoints, post-mortem, tracebacks, hypotheses
- Logging — levels, handlers, formatters, structured logging, diagnostics
Contribute¶
- Template: CHEATSHEET_TEMPLATE.md
- Guide: CONTRIBUTING.md