analyze_testing_strategy
Identify test coverage gaps and understand existing testing patterns to improve test writing and code reliability.
Instructions
Analyze testing strategies and identify gaps for better test coverage.
Use this tool when you need to understand:
How different parts of the code are tested and what patterns are used
Where test coverage might be missing or insufficient
What testing frameworks and patterns the codebase follows
How to write tests that fit the existing testing strategy
Perfect for understanding how to test new code, improving test coverage, or learning the testing patterns used in an unfamiliar codebase.
Args: repo_path: Repository path (absolute) working_directory: Working directory (absolute path) test_types: Types of tests to analyze (default: common test types) custom_file_patterns: Custom regex patterns for test files (overrides defaults) custom_framework_patterns: Custom regex patterns for frameworks (overrides defaults) show_coverage_gaps: Whether to identify modules that might lack tests include_testing_patterns: Whether to analyze testing patterns and frameworks focus_on_important_modules: Whether to prioritize important modules in analysis
Returns: Testing strategy analysis with patterns, gaps, and recommendations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| test_types | No | ||
| working_directory | Yes | ||
| framework_patterns | No | ||
| show_coverage_gaps | No | ||
| test_file_patterns | Yes | ||
| include_testing_patterns | No | ||
| focus_on_important_modules | No |