test-gen-agent

Generate unit, integration, and end-to-end tests with fixtures and assertions.

Updated Dec 3, 2025
One-click install
npx skills add https://github.com/Unicorn/Radium --skill test-gen-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-gen-agent
Source: https://github.com/Unicorn/Radium/tree/main/skills/examples/test-gen-agent
Command: npx skills add https://github.com/Unicorn/Radium --skill test-gen-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many codebases lack well-structured tests that cover both common behaviors and edge cases while remaining fast to run; this skill reduces the manual effort and cognitive overhead of designing comprehensive test suites and test data.

Core Features & Use Cases

  • Generate unit tests, integration tests, and end-to-end tests tailored to functions, modules, or services.
  • Create test fixtures, mocks, and representative test data to simplify setup and reproducibility.
  • Produce clear test descriptions and assertions that are maintainable and CI-friendly.
  • Use Case: Given a module or function, produce a balanced set of fast-running tests focused on happy paths, boundary conditions, and likely failure modes.

Quick Start

Generate unit, integration, and edge-case tests for the factorial function in math_module using pytest, include fixtures and clear assertions.

Frequently Asked Questions about test-gen-agent

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

FAQPage Schema
How do I generate unit and integration tests that cover edge cases?

You can generate comprehensive test suites that balance coverage and execution speed by applying automated test generation to unit, integration, and end-to-end scenarios, producing maintainable tests with clear assertions and fixtures.

What is the best way to create test fixtures and mocks for reproducible test data?

The best way to create test fixtures and mocks is to generate representative test data alongside your test suites, simplifying setup and ensuring reproducibility by automatically producing the necessary mocks for your modules and services.

Can I generate end-to-end tests for my services across different frameworks?

Yes, you can generate end-to-end tests for services across languages and frameworks, producing CI-friendly tests with clear descriptions and assertions that validate common behaviors and failure modes without requiring specific dependencies.

How do I write maintainable tests suitable for CI integration?

To write maintainable tests suitable for CI integration, generate test suites that feature clear descriptions, concise assertions, and balanced execution speed, ensuring the tests run fast while comprehensively covering module behaviors.

Why do my test suites lack coverage of boundary conditions and likely failure modes?

Your test suites likely lack boundary condition coverage because manually designing comprehensive tests incurs high cognitive overhead; automating test generation produces balanced, fast-running tests focused on both happy paths and likely failure modes.