Skip to content

Test Planning

Workflow for creating structured test plans with risk-based prioritization. Ensures comprehensive coverage across test categories with clear priority definitions.

Terminal window
mcp__moira__start({ workflowId: "test-planning" })
flowchart LR
    A[Requirements] --> B[Risk Analysis]
    B --> C[Categorize]
    C --> D[Prioritize]
    D --> E[Detail]
    E --> F[Coverage Review]
    F --> G[Output]
StepActionOutput
1. RequirementsCollect feature, acceptance criteria, user storiesRequirements doc
2. Risk AnalysisAnalyze what can break, impact, likelihoodRisk assessment
3. CategorizeAssign tests to categoriesCategorized tests
4. PrioritizeAssign P0-P3 with justificationPrioritized tests
5. DetailWrite title, preconditions, steps, expected resultDetailed test cases
6. Coverage ReviewCheck AC and risk coverage, identify gapsCoverage report
7. OutputFinal test planComplete plan
CategoryFocusMinimum
PositiveHappy path scenarios2 tests
NegativeInvalid input, error handling2 tests
Edge casesBoundaries, limits2 tests
SecurityAuth, injection, access control2 tests
PerformanceLoad, response time (if applicable)2 tests
PriorityNameDescriptionRelease Impact
P0BlockerCritical functionalityCannot release
P1CriticalCore featuresMust pass before release
P2MajorImportant featuresShould verify
P3MinorNice to haveOptional
VerificationQuestion
AC coverageAll acceptance criteria covered by tests?
Risk coverageAll high-impact risks covered by P0/P1?
Gap analysisWhat areas lack test coverage?
FieldDescription
TitleClear, descriptive test name
PriorityP0-P3 with justification
PreconditionsRequired setup state
StepsNumbered action sequence
Expected resultSpecific, verifiable outcome
{
"id": "prioritize-tests",
"type": "agent-directive",
"directive": "Assign priority P0-P3 to each test case. P0 for blockers, P1 for critical, P2 for major, P3 for minor. Justify each priority assignment.",
"completionCondition": "All test cases have priority assigned with justification",
"connections": {
"next": "detail-tests"
}
}