code-testing-agent

Generates unit tests for multiple languages using a research, plan, and implement pipeline.

1|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/D1ssolve/craft-agents --skill code-testing-agent-d1ssolve
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-testing-agent
Source: https://github.com/D1ssolve/craft-agents/tree/main/skills/code-testing-agent
Command: npx skills add https://github.com/D1ssolve/craft-agents --skill code-testing-agent-d1ssolve

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing comprehensive unit tests across an entire project is time-consuming, and generated tests often fail to compile or follow project conventions. This Skill automates test generation with a coordinated pipeline that researches your codebase, plans phased implementation, and produces tests that actually build and pass. ## Core Features & Use Cases - Multi-Language Test Generation: Scaffolds tests for C#/.NET (xUnit, MSTest), Python (pytest), TypeScript/JavaScript (Vitest, Jest, Mocha), Go, Rust, and Java (JUnit), including coverage tooling like coverlet, pytest-cov, and @vitest/coverage-v8. - Research-Plan-Implement Pipeline: Coordinates specialized agents that analyze the codebase, create a phased test plan, write tests, then build, run, fix, and lint them automatically. - Coverage-Focused Output: Targets happy paths, edge cases, and error cases with an 80% coverage goal, storing pipeline state in .testagent/ for traceability. - Use Case: Ask to generate unit tests for a billing service, and the pipeline detects the framework, plans test scenarios per file, writes the tests, and iterates on build or test failures until everything passes. ## Quick Start Ask the agent to generate unit tests for a specific file, service, or your entire project, optionally naming your preferred test framework.

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?

Request test generation for your project scope, and the pipeline runs a research phase to detect the language and framework, a planning phase that groups files into phases, and an implementation phase that writes, builds, and verifies tests incrementally.

Which testing frameworks does automated test generation support?

It supports xUnit and MSTest for .NET, pytest for Python, Vitest, Jest, and Mocha for TypeScript/JavaScript, the standard testing package for Go, and JUnit for Java. Specify your preferred framework in the request if detection picks the wrong one.

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

Yes, pytest test generation supports Flask and Django projects, including parametrized tests and unittest.mock usage. Coverage tooling via pytest-cov can be configured as part of the generation.

Why do generated tests fail after creation?

Most failures come from wrong expected values in assertions rather than production code bugs. Read the actual test output, check the production code behavior, and fix the assertion instead of skipping or ignoring the test.

When should I not use automated test generation?

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