Python Testing

Python testing patterns using pytest — fixtures, mocking, parametrization, async tests, and TDD methodology. Always activate when the user is writing, fixing, or designing tests; setting up a test suite; asking about coverage; or working with pytest configuration. Trigger on phrases like "write a test", "add tests for", "how do I test", "mock this", "fixture for", "parametrize", "test coverage", "pytest setup", "TDD", "how do I assert", "test this function", or any request explicitly about testing Python code. Also activate proactively when the user is writing new Python code without any tests — TDD means tests come first.

Yog-Sotho Updated

File contents

Yog-Sotho/claude-skills/tree/main/python-testing commit 34c7a1dcb3

Frequently asked questions

npx skillmds@latest add yog-sotho/python-testing