test-scenarios
phuryn/pm-skills
사용자 스토리를 바탕으로 테스트 목표, 시작 조건, 사용자 역할, 단계별 작업 및 예상 결과를 포함한 포괄적인 테스트 시나리오를 작성합니다.
...모든 것을 확장하십시오테스트 시나리오
테스트 목표, 시작 조건, 사용자 역할, 단계별 테스트 작업 및 예상 결과를 포함하여 사용자 스토리를 바탕으로 포괄적인 테스트 시나리오를 작성합니다.
사용 시점: QA 테스트 케이스 작성, 테스트 계획 수립, 인수 테스트 시나리오 정의 또는 사용자 스토리 구현 검증 시.
인수:
$PRODUCT: 제품 또는 시스템 이름$USER_STORY: 테스트할 사용자 스토리(제목 및 인수 기준)$CONTEXT: 추가 테스트 배경 또는 제약 조건
단계별 절차
- 사용자 스토리와 수용 기준을 검토합니다
- 테스트 목표 정의 - 검증할 구체적인 동작
- 시작 조건 설정 - 시스템 상태, 데이터 설정, 구성
- 사용자 역할 파악 - 누가 테스트 작업을 수행하는지
- 테스트 단계 작성 - 상호작용을 단계별로 세분화
- 예상 결과 정의 - 각 단계 후 관찰 가능한 결과
- 경계 사례 고려 - 유효하지 않은 입력, 경계 조건
- 상세한 테스트 시나리오 산출 - QA 실행 준비 완료
시나리오 템플릿
테스트 시나리오: [시나리오 이름]
테스트 목적: [이 테스트가 검증하는 내용]
시작 조건:
- [필요한 시스템 상태]
- [필요한 데이터 또는 구성]
- [사용자 설정 또는 권한]
사용자 역할: [테스트를 수행하는 대상]
테스트 단계:
- [첫 번째 조치 및 예상 결과]
- [두 번째 작업 및 관찰 가능한 결과]
- [세 번째 작업 및 시스템 동작]
- [완료 작업 및 최종 상태]
예상 결과:
- [관측 가능한 결과 1]
- [관측 가능한 결과 2]
- [관측 가능한 결과 3]
테스트 시나리오 예시
테스트 시나리오: 상품 페이지에서 최근 본 상품 보기
테스트 목표: ‘최근 본 상품’ 섹션이 올바르게 표시되며 현재 상품은 제외되는지 확인합니다.
시작 조건:
- 사용자가 로그인했거나 브라우저 기록이 활성화되어 있음
- 사용자가 현재 세션에서 최소 2개의 상품을 조회한 상태여야 함
- 사용자가 이전에 본 상품과 다른 상품 페이지에 있음
사용자 역할: 온라인 쇼핑객
테스트 단계:
- 임의의 상품 페이지로 이동 → 페이지 하단에 이전에 본 상품이 포함된 섹션이 표시되어야 함
- 페이지 하단으로 스크롤 → 상품 카드가 포함된 "최근 조회한 상품" 섹션이 표시됨
- 상품 썸네일 확인 → 이미지, 제목 및 가격이 올바르게 표시되는지 확인
- 현재 상품 확인 → 현재 상품이 '최근 본 상품' 목록에 포함되지 않음
- 상품 카드를 클릭 → 사용자가 해당 상품 페이지로 이동
예상 결과:
- '최근 본 상품' 섹션은 이전에 최소 1개의 상품을 본 후에만 표시됩니다
- 해당 섹션에는 완전한 정보가 포함된 4~8개의 상품 카드가 표시됩니다
- 현재 상품은 목록에서 제외됩니다
- 각 카드에는 “X분/시간 전에 조회됨”이라는 타임스탬프가 표시됩니다
- 카드를 클릭하면 해당 상품 페이지로 이동합니다
- 성능: 섹션이 2초 이내에 로드됩니다
산출물
- 각 승인 기준에 대한 포괄적인 테스트 시나리오
- 사용자 스토리 의도에 부합하는 명확한 테스트 목표
- 세부적인 단계별 테스트 절차
- 각 단계 후 관찰 가능한 예상 결과
- 경계 사례 및 오류 시나리오에 대한 커버리지
- QA 팀의 실행 및 문서화 준비 완료
---
name: test-scenarios
description: Create comprehensive test scenarios from user stories with test objectives, starting conditions, user roles, step-by-step actions, and expected outcomes.
---
# Test Scenarios
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
## Step-by-Step Process
1. **Review the user story** and acceptance criteria
2. **Define test objectives** - What specific behavior to validate
3. **Establish starting conditions** - System state, data setup, configurations
4. **Identify user roles** - Who performs the test actions
5. **Create test steps** - Break down interactions step-by-step
6. **Define expected outcomes** - Observable results after each step
7. **Consider edge cases** - Invalid inputs, boundary conditions
8. **Output detailed test scenarios** - Ready for QA execution
## Scenario Template
**Test Scenario:** [Clear scenario name]
**Test Objective:** [What this test validates]
**Starting Conditions:**
- [System state required]
- [Data or configuration needed]
- [User setup or permissions]
**User Role:** [Who performs the test]
**Test Steps:**
1. [First action and its expected result]
2. [Second action and observable outcome]
3. [Third action and system behavior]
4. [Completion action and final state]
**Expected Outcomes:**
- [Observable result 1]
- [Observable result 2]
- [Observable result 3]
## Example Test Scenario
**Test Scenario:** View Recently Viewed Products on Product Page
**Test Objective:** Verify that the 'Recently viewed' section displays correctly and excludes the current product.
**Starting Conditions:**
- User is logged in or has browser history enabled
- User has viewed at least 2 products in the current session
- User is now on a product page different from previously viewed items
**User Role:** Online Shopper
**Test Steps:**
1. Navigate to any product page → Section should appear at bottom with previously viewed items
2. Scroll to bottom of page → "Recently viewed" section is visible with product cards
3. Verify product thumbnails → Images, titles, and prices are displayed correctly
4. Check current product → Current product is NOT in the recently viewed list
5. Click on a product card → User navigates to the corresponding product page
**Expected Outcomes:**
- Recently viewed section appears only after viewing at least 1 prior product
- Section displays 4-8 product cards with complete information
- Current product is excluded from the list
- Each card shows "Viewed X minutes/hours ago" timestamp
- Clicking cards navigates to correct product pages
- Performance: Section loads within 2 seconds
## Output Deliverables
- Comprehensive test scenarios for each acceptance criterion
- Clear test objectives aligned with user story intent
- Detailed step-by-step test actions
- Observable expected outcomes after each step
- Edge case and error scenario coverage
- Ready for QA team execution and documentation
모든 파일
1개 파일test-scenarios 설치
스킬 파일을 다운로드하여 .claude/skills/ 디렉터리에 압축을 풀어주세요.
ZIP 다운로드저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.
git clone https://github.com/phuryn/pm-skills/tree/main/pm-execution/skills/test-scenarios # Copy SKILL.md to your .claude/skills/ directory
복사





집
