analyze_existing_patterns
Analyze a test suite to identify common patterns for generating new test cases. Define the path to a suite_* directory to extract reusable patterns.
Instructions
Analyze test suite to find common patterns that should be used for generating new test cases.
Args:
test_suite_path: Path to a suite_* directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_suite_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_usage | Yes | Squish API call frequencies, e.g. {'waitForObject': 12} | |
| common_imports | Yes | Most frequently used imports across test scripts | |
| object_ref_files | Yes | Files containing object reference definitions | |
| object_references | Yes | Object references found across test scripts | |
| global_scripts_directories | Yes | Paths to global script directories | |
| object_ref_primary_location | Yes | Primary storage location for object references (e.g. 'suite_names', 'global_pom') | |
| global_scripts_available_functions | Yes | Functions available from global script directories |