Automated Mock & Stub Generator

0•

Generates comprehensive mock data, stub functions, and test datasets to isolate code environments and accelerate automated testing.

The Mock Generation skill empowers developers to rapidly create robust test environments by automatically identifying external dependencies and generating realistic mock data. It supports popular frameworks like Vitest, Jest, and Pytest, handling everything from simple type definitions to complex nested objects, asynchronous API responses, database operations, and time-based logic. This skill is essential for writing high-quality unit tests without the overhead of manual mock implementation, ensuring better test isolation and coverage.

주요 기능

01Complex data generation for nested objects and boundary values
02Automatic dependency analysis and function signature detection
030 GitHub stars
04Simulation of asynchronous operations and various error scenarios
05Multi-framework support for Jest, Vitest, and Python Pytest
06Specialized mocks for REST APIs, databases, and system time

사용 사례

01Isolating unit tests from external API dependencies and third-party services
02Simulating edge cases and error states like network timeouts or validation failures
03Generating large, type-safe datasets for stress testing and UI development