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 mode enabled for type-safe mocks (if applicable) - Source code with clear interface or class boundaries for dependency injection Instructions 1. Scan the codebase with G…