characterize_method
Generate characterization tests for a Python class method to lock its behavior. Outputs pytest code with fixture-based instance setup for safe refactoring.
Instructions
v2: Generate characterization tests for a single Python class method. Returns a CharacterizationResult including the emitted pytest code with @pytest.fixture-based instance setup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| class_name | Yes | ||
| method_name | Yes | ||
| max_cases | No | ||
| coverage_threshold | No | ||
| max_rounds | No | ||
| output_path | No | ||
| allow_impure | No | ||
| allow_stateful | No |