test-doubles-generator Verified Gold

Verified Gold · 92/100 testing v1.0.0 by Claude Code Plugin Hub

Generate mocks, stubs, spies, and fakes for unit testing with Jest, Sinon, and test frameworks

MIT License
Free Pricing

Installation

Open Claude Code and run this command:

/plugin install test-doubles-generator@claude-code-plugins-plus

Use --global to install for all projects, or --project for current project only.

What It Does

Generate mocks, stubs, spies, and fakes for unit testing with Jest, Sinon, and test frameworks.

Features

  • Smart Analysis: Identifies dependencies and recommends appropriate test double type
  • Multi-Framework: Jest, Sinon, unittest.mock, Mockito, Moq, RSpec
  • Complete Examples: Includes test cases demonstrating usage
  • Test Fixtures: Generate realistic test data
  • Best Practices: Follows testing framework conventions

Skills (1)

generating-test-doubles SKILL.md View full skill →

Generate mocks, stubs, spies, and fakes for dependency isolation.

ReadWriteEditGrepGlobBash(test:doubles-*)