
Unit Testing Test Generate
This generates unit tests across Python, JavaScript, TypeScript, Java, and Go by analyzing your source code structure and creating framework-specific test suites. It extracts functions and classes via AST parsing, then outputs pytest or Jest tests with fixtures, mocks, and assertions covering happy paths, edge cases, and error handling. The Python implementation calculates cyclomatic complexity to prioritize what needs testing, and it includes React Testing Library patterns for component tests. You'll want this when bootstrapping test coverage for existing code, though the generated tests are scaffolds that need refinement. The edge case handling is somewhat generic, so expect to add domain-specific assertions yourself. Good for getting to 60% coverage quickly, less so for nuanced business logic validation.
- skills.sh installs
- 431
- GitHub stars
- 39.4K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill unit-testing-test-generate --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Category
- Testing & QA
- First seen
- Jun 3, 2026
More from sickn33/antigravity-awesome-skills
All 708- Php Pro429
- Laravel Security Audit427
- Application Performance Performance Optimization426
- Nosql Expert426
- Debugging Strategies425
- React Native Architecture425
- React State Management425
- Database Admin423
- Cc Skill Backend Patterns421
- Python Fastapi Development420
- Auth Implementation Patterns418
- Context Manager412
- Unity Developer412
- Full Stack Orchestration Full Stack Feature411
- Research Engineer409
- Seo Meta Optimizer409
- Database Migrations Sql Migrations408
- Java Pro405
- Monorepo Architect403
- Ios Developer402
- Cc Skill Coding Standards400
- Startup Business Analyst Financial Projections399
- Database Migration398
- Readme398