Back to skills
extension
Category: Development & EngineeringNo API key required

Unit Testing Skill

Generates comprehensive unit tests following enterprise patterns. Use whenever planning or generating unit tests.

personAuthor: jakexiaohubgithub

Unit Testing Skill

Generate comprehensive unit tests for any codebase, following your team's established patterns and conventions.

Capabilities

  1. Code Analysis: Understands function signatures, dependencies, and edge cases
  2. Pattern Matching: Follows existing test patterns in your codebase
  3. Framework Awareness: Works with pytest, unittest, Jest, Mocha, and others
  4. Mock Generation: Creates appropriate mocks for external dependencies
  5. Fixture Creation: Generates reusable test fixtures

Included Components

| Component | Purpose | |-----------|---------| | instructions/testing-patterns.instructions.md | Team testing standards, always load | | prompts/generate-tests.prompt.md | Test generation workflow - follow this when writting new tests | | references/TEST-FIXTURES.md | Common fixture patterns - leverage when you need to create fixtures for your tests |