create_test_plan
Create a detailed test plan from analysis results, with prioritized test cases and ready-to-run ServiceNow Fix Scripts, and prompt for user approval before execution.
Instructions
Generate a detailed expert test plan from an analysis result.
This is the APPROVAL STEP — present the full plan to the user before running anything.
The plan includes:
CRITICAL tests (security, null safety, primary function)
MAJOR tests (branch coverage, data integrity, performance)
MINOR tests (edge cases, minor validations)
Ready-to-run ServiceNow Fix Scripts for each test case
Estimated runtime
After presenting the plan, ask the user: "Approve all and run? Or select specific test IDs?"
Then call run_approved_tests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis | Yes | The full analysis object returned by analyze_for_testing | |
| priority | No | all=full suite | critical=CRITICAL only | smoke=first 3 tests | all |