pytest Fundamentals
Test functions, scripts, and failure paths with practical pytest patterns.
Mocking APIs, Files, and Commands
Test automation and AI code without touching real services, files, or credentials.
Debugging, Profiling, and Linting
Use tracebacks, debuggers, profiling, formatters, and linters to improve code quality.
Test Fixtures and Temporary Files
Use fixtures and temporary paths to test file-heavy Python code safely.
Static Analysis and Formatting
Use formatters, linters, and type checkers to catch defects before runtime.