test-generation

Generate unit, integration, and edge case tests for JavaScript/TypeScript, Python, and Go code.

15|3|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/richardcb/oh-my-gemini --skill test-generation-richardcb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generation
Source: https://github.com/richardcb/oh-my-gemini/tree/main/skills/test-generation
Command: npx skills add https://github.com/richardcb/oh-my-gemini --skill test-generation-richardcb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive tests for your codebase, ensuring code correctness and reliability.

Core Features & Use Cases

  • Automated Test Generation: Creates unit, integration, and edge case tests.
  • Environment Detection: Identifies existing testing frameworks and conventions.
  • Code Analysis: Analyzes functions, classes, and components to determine test requirements.
  • Use Case: After writing a new feature, use this Skill to automatically generate a full suite of tests that match your project's existing testing framework, saving significant developer time.

Quick Start

Use the test-generation skill to write tests for the file src/utils/helpers.ts.

Frequently Asked Questions about test-generation

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

FAQPage Schema
How do I generate unit tests for an existing TypeScript project?

To generate unit tests, this Skill analyzes your TypeScript functions and classes, then automatically creates comprehensive test suites matching your project's testing framework and conventions.

Does automated test generation work with both Jest and Vitest?

Automated test generation works with both Jest and Vitest. The Skill detects your existing environment and conventions to produce tests that align with your current JavaScript or TypeScript setup.

Can I automatically create integration tests and edge case coverage?

You can automatically create integration tests and edge case coverage. The Skill analyzes your code to identify testable units and generates a full suite covering various test scenarios.

What is the best way to write tests for a new feature without manual setup?

The best way to write tests without manual setup is using this Skill to analyze your new code and automatically generate a matching test suite, saving significant developer time.

How does code analysis determine what to test in my functions?

Code analysis determines what to test by examining your functions, classes, and components to identify testable units, then it generates tests matching the project's testing framework and conventions.