Generate Mock

Community

Create deterministic mocks for tests.

Authorbtabaska
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Solves the challenge of isolating unit tests by generating deterministic mocks for interfaces, services, or modules, ensuring tests run with realistic return values and without triggering real network or I/O calls.

Core Features & Use Cases

  • Deterministic mocks for target frameworks (pytest, vitest, or MSW) to match the test environment.
  • Framework-specific mock generation to produce appropriate stubs (unittest.mock fixtures, vi.mock blocks, or MSW handlers).
  • Safe synthetic data and zero side effects to prevent real interactions during tests.

Quick Start

Tell the tool what to mock and which framework you use, then run the generator to produce the appropriate mock files.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Generate Mock
Download link: https://github.com/btabaska/simpler-grants-documentation-automation/archive/main.zip#generate-mock

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.