- Home
- Skills
- Testing & Debugging
- test-gen
Test Gen
Automated test generation with edge case analysis and framework-native syntax for TS, Python, Go, and Rust.
$12
Works with the AI tools you already use
test-gen
Example session with this skill installed
Generate unit tests for src/auth.ts using Vitest. Cover the login function including happy paths, password errors, and empty inputs.
- Read your context and instructions
- Compiled the test-gen
Created src/auth.test.ts (Vitest)
- test(login): successfully authenticates valid users
- test(login): throws UnauthorizedError on invalid password
- test(login): handles empty username strings
- test(login): mocks database connection failure
Generated 4 test cases with zero syntax errors.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Comprehensive Automated Unit Testing
Writing unit tests is often the most time-consuming part of the development cycle. This skill automates the entire process by analyzing your source code and generating high-quality, framework-idiomatic tests. It doesn't just write "happy path" assertions; it deeply analyzes function signatures and logic to identify edge cases, boundary values, and potential error states that you might have missed.
What it does
- Smart Framework Detection: Automatically identifies your project's testing stack (Jest, Vitest, Pytest, Go testing, or JUnit) by scanning configuration files like
package.jsonorCargo.toml. - Context-Aware Generation: Parses your TypeScript, JavaScript, Python, Go, or Rust files to extract exports, classes, and functions.
- Edge Case Analysis: Generates specific test cases for null/undefined inputs, empty strings, maximum boundaries, and async rejections.
- Zero-Config Mocking: Detects external dependencies and sets up framework-specific mocks for HTTP, DB, and filesystem calls.
Why use this skill?
Unlike basic AI prompting, this skill follows a structured multi-step engineering process. It ensures imports are correct, prevents syntax errors, and places files according to project-specific naming conventions (e.g., *.test.ts vs test_*.py). It saves developers hours of boilerplate work while increasing code coverage and reliability without requiring manual intervention.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 5 months ago
- Passed all security checks, Safe to install