{"enrichment":{"faq":[{"a":"Test Harness builds complete pytest test files from source code, automatically structuring tests across happy paths, edge cases, and error states. It analyzes your function's complexity and existing coverage, then generates organized test suites with fixtures by scope, focused mocks for external dependencies, and proper async handling\u2014all following pytest best practices.","q":"How does test-harness generate pytest tests for my function?"},{"a":"Yes. Test Harness designs mock strategies tailored to your dependencies, applying focused mocks to external APIs and services. It scaffolds fixtures at the appropriate scope (function, class, session) and configures conftest setup to handle dependency injection, so your tests remain isolated and deterministic.","q":"Can test-harness create test suite with mocks for external APIs?"},{"a":"Test Harness creates tests covering happy paths, edge cases, and error conditions systematically. It generates parametrized test cases for boundary conditions, exception handling, and failure modes, ensuring your test suite captures the full range of your code's behavior without manual enumeration.","q":"What does test-harness do for edge cases and error conditions?"},{"a":"Test Harness recognizes async patterns in your code and designs appropriate mock and fixture strategies for async functions. It generates tests using pytest-asyncio conventions, properly awaiting coroutines and mocking async dependencies so your async test suite runs reliably.","q":"How does test-harness handle async code testing?"},{"a":"Yes. Test Harness scaffolds test infrastructure by designing fixtures at the right scope, generating conftest configurations, and setting up dependency injection patterns. This foundational work reduces boilerplate and ensures your test harness is maintainable and extensible from the start.","q":"Does test-harness scaffold pytest fixtures and conftest setup?"},{"a":"Test Harness analyzes your source code to generate comprehensive unit tests automatically, building test files that cover happy paths, edge cases, and error states. It applies pytest best practices and fixture patterns, creating a complete test suite scaffold you can refine and extend.","q":"Can test-harness generate unit tests automatically for untested code?"}],"shadow_tags":["test-automation","mock-injection","coverage-analysis","async-testing","fixture-management","parametrized-tests","boundary-testing","dependency-mocking","test-scaffolding","pytest-patterns"],"summary_rewrite":"Test Harness builds complete pytest test files from source code, automatically structuring tests across happy paths, edge cases, and error states. It designs fixtures by scope, applies focused mocks to external dependencies, and handles async patterns\u2014all grounded in reconnaissance of your code's complexity and existing test coverage."},"files":[{"bytes":13940,"path":"skills/test-harness/SKILL.md","sha256":"b5b4ef5496b9cc07f5ede58d5a3802998bcc4c0bc10c8942c86d1b272dc2b80d","url":"https://skillfed.io/files/Mathews-Tom/armory/test-harness/7355d839/SKILL.md"}],"id":"Mathews-Tom/armory/test-harness","links":{"html":"https://skillfed.io/Mathews-Tom/armory/test-harness","md":"https://skillfed.io/Mathews-Tom/armory/test-harness.md","repo":"https://github.com/Mathews-Tom/armory"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":42,"language":"Python","last_updated":"2026-07-21","license":"MIT","name":"test-harness","publisher":"Mathews-Tom","stars":274},"relations":{"similar":[{"id":"xobotyi/cc-foundry/pytest"},{"id":"JosiahSiegel/claude-plugin-marketplace/python-testing"},{"id":"hieutrtr/ai1-skills/pytest-patterns"},{"id":"eyadsibai/ltk/pytest"},{"id":"dawiddutoit/custom-claude/setup-pytest-fixtures"},{"id":"LambdaTest/agent-skills/pytest-skill"},{"id":"dawiddutoit/custom-claude/pytest-configuration"},{"id":"NickCrew/Claude-Cortex/python-testing-patterns"},{"id":"athola/claude-night-market/pytest-config"},{"id":"dawiddutoit/custom-claude/test-organize-layers"}]},"slug":{"owner":"Mathews-Tom","repo":"armory","skill":"test-harness"},"version":"7355d839"}
