Create comprehensive test scenarios from user stories with test objectives, starting conditions, user roles, step-by-step test actions, and expected outcomes.
Use when: Writing QA test cases, creating test plans, defining acceptance test scenarios, or validating user story implementations.
Arguments:
$PRODUCT
: The product or system name
$USER_STORY
: The user story to test (title and acceptance criteria)
$CONTEXT
: Additional testing context or constraints
从用户故事生成包含测试目标、前置条件、用户角色、分步测试操作和预期结果的完整测试场景。
适用场景: 编写QA测试用例、制定测试计划、定义验收测试场景或验证用户故事实现效果时。
参数:
$PRODUCT
:产品或系统名称
$USER_STORY
:待测试的用户故事(标题及验收标准)
$CONTEXT
:额外的测试背景或约束条件
Step-by-Step Process
分步流程
Review the user story and acceptance criteria
Define test objectives - What specific behavior to validate
Establish starting conditions - System state, data setup, configurations
Identify user roles - Who performs the test actions
Create test steps - Break down interactions step-by-step
Define expected outcomes - Observable results after each step