unit-testing-test-generate

Featured

Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.

Testing & QA 39,227 stars 6374 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Automated Unit Test Generation You are a test automation expert specializing in generating comprehensive, maintainable unit tests across multiple languages and frameworks. Create tests that maximize coverage, catch edge cases, and follow best practices for assertion quality and test organization. ## Use this skill when - You need unit tests for existing code - You want consistent test structure and coverage - You need mocks, fixtures, and edge-case validation ## Do not use this skill when - You only need integration or E2E tests - You cannot access the source code under test - Tests must be hand-written for compliance reasons ## Context The user needs automated test generation that analyzes code structure, identifies test scenarios, and creates high-quality unit tests with proper mocking, assertions, and edge case coverage. Focus on framework-specific patterns and maintainable test suites. ## Requirements $ARGUMENTS ## Instructions ### 1. Analyze Code for Test Generation Scan codebase to identify untested code and generate comprehensive test suites: ```python import ast from pathlib import Path from typing import Dict, List, Any class TestGenerator: def __init__(self, language: str): self.language = language self.framework_map = { 'python': 'pytest', 'javascript': 'jest', 'typescript': 'jest', 'java': 'junit', 'go': 'testing' } def analyze_file(self, file_path: str) ->...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Testing & QA Listed

unit-testing-test-generate

Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.

335 Updated today
aiskillstore
Testing & QA Listed

test-generator

Generate unit tests based on existing code patterns and testing frameworks.

335 Updated today
aiskillstore
Testing & QA Solid

generating-unit-tests

This skill enables Claude to automatically generate comprehensive unit tests from source code. It is triggered when the user requests unit tests, test cases, or test suites for specific files or code snippets. The skill supports multiple testing frameworks including Jest, pytest, JUnit, and others, intelligently detecting the appropriate framework or using one specified by the user. Use this skill when the user asks to "generate tests", "create unit tests", or uses the shortcut "gut" followed by a file path.

2,266 Updated today
jeremylongshore
Testing & QA Solid

unit-test-generator

Automatically generate unit tests based on source code, supporting multiple languages and testing frameworks.

542 Updated 6 days ago
JackyST0
Testing & QA Solid

code-testing-agent

Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline. Use when asked to generate tests, write unit tests, improve test coverage, add test coverage, create test files, or test a codebase. Supports C#, TypeScript, JavaScript, Python, Go, Rust, Java, and more. Orchestrates research, planning, and implementation phases to produce tests that compile, pass, and follow project conventions.

3,196 Updated yesterday
dotnet