test_generate_mocks
Create mock objects, stubs, and test fixtures from source code to isolate dependencies in tests. Specify framework and dependencies to generate ready-to-use test doubles.
Instructions
Generate mock objects, stubs, and test fixtures for dependencies (Pro)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| framework | No | Test/mock framework to use | |
| source_code | Yes | Source code with dependencies to mock | |
| dependencies | No | List of dependencies to create mocks for |