generating-test-doubles

Installation
SKILL.md

Test Doubles Generator

Overview

Generate mocks, stubs, spies, and fakes to isolate units under test from external dependencies. Supports Jest mocks, Sinon.js stubs, Python unittest.mock, Go interfaces, and testdouble.js patterns.

Prerequisites

  • Testing framework installed (Jest, Vitest, Mocha, pytest, JUnit 5, or Go testing)
  • Mocking library available (Sinon.js, testdouble.js, unittest.mock, Mockito, or gomock)
  • TypeScript strict mode enabled for type-safe mocks (if applicable)
  • Source code with clear interface or class boundaries for dependency injection

Instructions

Installs
1
GitHub Stars
2.7K
First Seen
6 days ago
generating-test-doubles — jeremylongshore/tons-of-skills-marketplace