coding/python-testing/SKILL.md
Python testing patterns with pytest: TDD loop, fixtures, parametrization, mocking, test organization, async testing, coverage, and CI hygiene. Use when writing or reviewing Python tests to improve correctness and reduce flakiness.
npx skillsauth add aeondave/malskill python-testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
High-signal guidance for writing tests that are deterministic, readable, and maintainable.
For new code:
For flaky/failing tests:
sleep, use synchronization).test-driven-development when implementing persistent code or bug fixes test-first.testing-reliability; if the root cause is unclear, pair with systematic-debugging.Load on demand:
references/tdd-and-structure.md — TDD loop, naming, organizing testsreferences/fixtures-parametrize.md — fixtures (scopes, autouse), parametrization patternsreferences/mocking.md — unittest.mock, patching correctly, async mocksreferences/async.md — pytest-asyncio patterns and pitfallsreferences/coverage-ci.md — pytest-cov, coverage hygiene, CI tipsreferences/commands.md — common pytest commands and selectorsdevelopment
White-box auditing methodology for AI-generated ('vibe-coded') applications. Focuses on modern stack misconfigurations (Supabase, Next.js, Vercel).
development
Hybrid AI/Deterministic SAST methodology for discovering zero-day vulnerabilities in source code. Orchestrates structural search with AI-driven data flow and sink validation.
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.
devops
Container methodology: Identifying containerization limits, Docker/K8s misconfigurations, and executing escapes to the host node.