{"enrichment":{"faq":[{"a":"python-testing teaches pytest essentials and test-driven development patterns for Python projects. The skill covers fixtures, parametrization, mocking, and coverage strategies to build reliable test suites. You'll learn to follow the red-green-refactor cycle and achieve 80%+ code coverage on your critical paths, ensuring your code is thoroughly validated before deployment.","q":"What is python-testing and how does it help me write better tests?"},{"a":"python-testing guides you through pytest fundamentals and test structure for Python projects. You'll learn how to organize tests, write assertions, use fixtures for setup and teardown, and apply parametrization to test multiple scenarios efficiently. The skill emphasizes learning pytest's core features and best practices for structuring test files and test functions to maximize clarity and maintainability.","q":"How do I write python unit testing with pytest?"},{"a":"python-testing covers the test-driven development (TDD) workflow with red-green-refactor as a core pattern. Red means writing a failing test first; green means writing minimal code to pass it; refactor means improving the code while keeping tests passing. This cycle ensures your implementation is always validated and helps you design better APIs and catch bugs early.","q":"What is the red-green-refactor cycle in test-driven development?"},{"a":"python-testing teaches you to set up fixtures, mocking, and parametrization for comprehensive test coverage. Fixtures provide reusable setup and teardown logic; mocking lets you safely test code that depends on external services or databases without actually calling them. You'll learn conftest patterns for sharing fixtures across tests and techniques for mocking API calls and database operations.","q":"How do I set up pytest fixtures and mocking for comprehensive coverage?"},{"a":"Yes. python-testing includes strategies for achieving 80%+ code coverage and testing critical paths thoroughly. The skill teaches you how to identify which code paths matter most, use coverage tools to measure your progress, and apply parametrization and fixtures to test edge cases and error conditions systematically.","q":"Can python-testing help me achieve 80%+ code coverage?"},{"a":"python-testing covers testing async code, exceptions, and external dependencies safely. You'll learn pytest plugins and patterns for async testing, how to assert that specific exceptions are raised, and techniques for mocking external dependencies so your tests remain fast and isolated. This ensures your async workflows and error handling are robust.","q":"How do I test async code and exceptions with pytest?"}],"shadow_tags":["test-automation","quality-assurance","behavior-driven","mock-patching","test-isolation","continuous-integration","regression-testing","fixture-management","assertion-patterns"],"summary_rewrite":"Learn pytest essentials and test-driven development patterns for Python projects. This skill covers fixtures, parametrization, mocking, and coverage strategies to build reliable test suites. Follow the red-green-refactor cycle and achieve 80%+ code coverage on your critical paths."},"files":[{"bytes":18874,"path":"skills/python-testing/SKILL.md","sha256":"76549eacc2215542b89745383fc47bebcbacd89e51352cc1b8b1b489b728db40","url":"https://skillfed.io/files/affaan-m/ECC/python-testing/9f49a21c/SKILL.md"}],"id":"affaan-m/ECC/python-testing","links":{"html":"https://skillfed.io/affaan-m/ECC/python-testing","md":"https://skillfed.io/affaan-m/ECC/python-testing.md","repo":"https://github.com/affaan-m/ECC"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":35692,"language":"JavaScript","last_updated":"2026-07-27","license":"MIT","name":"python-testing","publisher":"affaan-m","stars":234207},"relations":{"similar":[{"id":"xu-xiang/everything-claude-code-zh/python-testing"},{"id":"manutej/luxor-claude-marketplace/pytest-patterns"},{"id":"HermeticOrmus/LibreUIUX-Claude-Code/python-testing-patterns"},{"id":"LambdaTest/agent-skills/pytest-skill"},{"id":"bobmatnyc/claude-mpm-skills/pytest"},{"id":"JosiahSiegel/claude-plugin-marketplace/python-testing"},{"id":"xobotyi/cc-foundry/pytest"},{"id":"NickCrew/Claude-Cortex/python-testing-patterns"},{"id":"pluginagentmarketplace/custom-plugin-python/pytest-testing"},{"id":"majesticlabs-dev/majestic-marketplace/pytest-coder"}]},"slug":{"owner":"affaan-m","repo":"ECC","skill":"python-testing"},"version":"9f49a21c"}
