test-agent

Generate unit tests for Python, JavaScript, and Java code with pytest, Jest, and JUnit.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many codebases lack thorough, maintainable unit tests, which leads to regressions, low confidence in changes, and undetected edge case failures. This Skill helps teams rapidly produce high-quality tests that increase reliability and reduce manual test-writing effort.

Core Features & Use Cases

  • Generate unit tests for functions, methods, classes, and modules across languages and frameworks.
  • Create fixtures, setup/teardown routines, mocks and stubs, parameterized tests, and descriptive test names.
  • Use cases include adding coverage for new features, converting examples into tests, validating refactors, and producing regression suites for CI pipelines.

Quick Start

Generate unit tests for the function calculate_total in my Python module using pytest, covering happy paths, edge cases, and error conditions.

Frequently Asked Questions about test-agent

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

FAQPage Schema
How do I generate unit tests for Python functions using pytest?

To generate unit tests for Python functions, provide the target code to create comprehensive pytest suites that cover happy paths, edge cases, and error conditions using fixtures and parameterized cases.

Can I create Jest test suites with mocks for JavaScript classes?

Yes, you can generate Jest test suites for JavaScript classes and methods that include descriptive names, setup and teardown routines, and mocked external interactions to validate correctness.

What is the best way to increase test coverage for edge cases and boundary conditions?

The best way to increase test coverage is by generating complete test suites that automatically target boundary conditions and exceptions, producing robust assertions and parameterized cases across Python, JavaScript, and Java.

Does this test generation approach support mocking external interactions and setup routines?

Yes, this test generation approach supports creating mocks, stubs, and setup and teardown routines to isolate external interactions and validate complex scenarios within frameworks like JUnit, Jest, and pytest.

Can I use this to produce regression suites for CI pipelines across multiple languages?

Yes, you can produce regression suites for CI pipelines by generating complete, maintainable unit tests across Python, JavaScript, and Java projects to increase reliability and reduce manual effort.