Generates unit, integration, and end-to-end tests for existing code with meaningful assertions and edge cases.
---
name: test-generator
description: >-
Generate unit, integration, and end-to-end tests for existing code. Use when
a user asks to write tests, add test coverage, create unit tests, generate
integration tests, build e2e tests, improve code coverage, write specs, or
add testing to a project. Supports Jest, Vitest, Pytest, Playwright,
React Testing Library, and Cypress. Analyzes code to produce meaningful
assertions, edge cases, and mock setups.
license: Apache-2.0
compatibility: "Requires Node.js 18+ (Jest/Vitest/Playwright) or Python 3.9+ (Pytest)"
metadata:
author: terminal-skills
version: "1.0.0"
category: development
tags: ["testing", "unit-tests", "e2e", "jest", "pytest"]
---
# Test Generator
## Overview
Automatically generate comprehensive tests for existing source code. This skill analyzes functions, classes, and modules to produce well-structured test suites with meaningful assertions, edge case coverage, and proper mocking. It supports multiple frameworks and test types (unit, integration, e2e).
## Instructions… load the full skill through Skill Me