sickn33 avatar

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-code

Installs 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
1onewave-ai avatartest-coverage-improveronewave-ai/claude-skillsAnalyze test coverage gaps and generate tests to improve coverage. Use when improving test coverage, finding untested code, or writing missing tests.306skills.sh installs
2erichowens avatarvitest-testing-patternserichowens/some_claude_skillsvitest testing patterns252skills.sh installs
3shipshitdev avatarplaywright-e2e-initshipshitdev/libraryplaywright e2e init166skills.sh installs
4absolutelyskilled avatarjest-vitestabsolutelyskilled/absolutelyskilledjest vitest140skills.sh installs
5absolutelyskilled avatarcypress-testingabsolutelyskilled/absolutelyskilledcypress testing136skills.sh installs
6steipete avataropenclaw-qa-testingsteipete/clawdisopenclaw qa testing126skills.sh installs