code-testing-agent

Generates unit tests for multiple languages using a research, planning, and implementation pipeline.

Updated Aug 9, 2026
One-click install
npx skills add https://github.com/adinj00/player-performance --skill code-testing-agent-adinj00
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-testing-agent
Source: https://github.com/adinj00/player-performance/tree/main/.agents/skills/code-testing-agent
Command: npx skills add https://github.com/adinj00/player-performance --skill code-testing-agent-adinj00

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing comprehensive unit tests by hand is slow and often results in tests that fail to compile, miss edge cases, or ignore project conventions. This Skill automates test generation across languages and frameworks so tests actually build, pass, and reach meaningful coverage. ## Core Features & Use Cases - Multi-language test generation: Supports C#/.NET, Python (pytest, Flask/Django), TypeScript/JavaScript (Vitest, Jest, Mocha), Go, Rust, and Java (JUnit), with coverage tooling like coverlet, pytest-cov, and @vitest/coverage-v8. - Coordinated agent pipeline: Runs a Research → Plan → Implement workflow with dedicated builder, tester, fixer, and linter agents, storing state in .testagent/ files. - Convention-aware output: Discovers existing test layout, naming, mocking, and parameterization patterns, targeting 80% coverage with happy-path, edge-case, and error-case tests. - Use Case: Ask it to "generate unit tests for my billing project" and it analyzes the codebase, plans phased test files, writes them, builds, runs, and fixes failures automatically. ## Quick Start Ask the agent to generate unit tests for a specific file, service, or your entire project and let the pipeline handle research, planning, and implementation.

Frequently Asked Questions about code-testing-agent

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

FAQPage Schema
How do I generate unit tests for an entire project automatically?

Request test generation for your project scope and the skill runs a Research → Plan → Implement pipeline. It detects the language and test framework, groups files into phases, writes tests, then builds and runs them, fixing errors automatically.

What testing frameworks does automated test generation support?

It supports MSTest and xUnit for C#/.NET, pytest for Python, Vitest, Jest, and Mocha for TypeScript/JavaScript, Go's testing package, JUnit for Java, and Rust. Coverage tooling includes coverlet, pytest-cov, and @vitest/coverage-v8.

Can I generate pytest tests for a Flask or Django app?

Yes, Python test generation supports pytest including Flask and Django projects. The researcher agent detects your framework and conventions, then generates parametrized tests with mocked dependencies targeting 80% coverage.

Why do generated tests fail and how do I fix them?

Most failures come from wrong expected values in assertions, not production code bugs. Read the actual test output and production code, then fix the assertion rather than the source, and never mark tests as skipped just to make them pass.

When should I not use automated test generation?

Do not use it for running existing tests, analyzing coverage reports, or writing MSTest-specific tests, since dedicated skills handle those. It is designed for generating new tests, not executing or migrating existing suites.