test-generator

Generate pytest, mypy, ruff, bandit, and Playwright test suites for Python codebases.

Updated Dec 19, 2025
One-click install
npx skills add https://github.com/u9401066/copilot-capability-manager --skill test-generator-u9401066
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/u9401066/copilot-capability-manager/tree/main/.claude/skills/test-generator
Command: npx skills add https://github.com/u9401066/copilot-capability-manager --skill test-generator-u9401066

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically generates comprehensive test suites across static analysis, unit, integration, and E2E testing to improve coverage.

Core Features & Use Cases

  • Static analysis configuration: mypy, ruff, bandit configurations
  • Unit/Integration/E2E templates: scaffolding tests and fixtures
  • CI integration and coverage reports

Quick Start

Provide source code and run test-generator to output tests and coverage.

Frequently Asked Questions about test-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate comprehensive test suites for my Python project automatically?

Test-generator automatically creates test suites across static analysis, unit, integration, and E2E testing for Python codebases. It generates pytest configurations, parametrized tests, fixtures, async tests, and coverage reports ready for CI pipelines, eliminating manual test scaffolding.

Can I use pytest with static analysis tools like mypy, ruff, and bandit in automated test generation?

Yes. Test-generator produces pytest configurations alongside static analysis setups for mypy, ruff, and bandit, integrating all three into a cohesive test suite that catches type errors, linting issues, and security vulnerabilities automatically.

Does test-generator support async tests and API testing with httpx and Playwright?

Yes. Test-generator scaffolds async test patterns, httpx-based API tests, and Playwright E2E tests as part of the comprehensive suite, covering the full test pyramid from unit to end-to-end.

How do I set up coverage reporting and CI integration for generated tests?

Test-generator outputs coverage reports and CI-ready configurations automatically. Once generated, your pytest suite and coverage data integrate directly into CI pipelines without additional setup.

What's the difference between unit tests, integration tests, and E2E tests in the test pyramid?

Unit tests verify individual functions in isolation; integration tests check how components interact; E2E tests validate complete workflows from user perspective. Test-generator creates templates for all three levels to maximize coverage efficiency.

Can test-generator create fixtures and conftest configurations for pytest?

Yes. Test-generator produces fixture definitions and conftest.py files that provide reusable test utilities, reducing duplication and enabling parametrized tests across your entire test suite.