Agent skill · software engineering · rmyndharis
unit-testing-test-generate
Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.
Why this skill is useful
Adds executable scripts for generating comprehensive unit tests across multiple languages, focusing on edge cases and maintainability.
What it needs
Requires jest, junit, pytest installed locally. About 4k tokens when loaded. Last updated 2026-08-02. 1,255 stars on the source repository.
What this skill does
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: 2. Generate Python Tests with pytest 3. Generate JavaScript/TypeScript Tests with Jest 4. Generate React Component Tests 5. Coverage Analysis and Gap Detection 6. Mock Generation Output Format 1. Test Files: Complete test suites ready to run 2. Coverage Report: Current coverage with gaps identified 3. Mock Objects: Fixtures for external dependencies 4. Test Documentation: Explanation of test scenarios 5. CI Integration: Commands to run tests in pipeline Focus on generating maintainable, comprehensive tests that catch bugs early and provide confidence in code changes.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills rmyndharis/unit-testing-test-generate