Skip to content

Task-대안추천 회귀 테스트 정리 #247

@muzygosu

Description

@muzygosu

Summary

대안추천 data contract, 위험상황 감지, 추천 규칙 엔진이 문서 기준을 유지하도록 회귀 테스트를 정리합니다. 구현 변경 이후 추천 결과가 조용히 바뀌지 않도록 대표 fixture와 경계값 테스트를 고정합니다.

Parent Issue

#84

Area

Domain

Target Sprint

Sprint 3

Scope

  • 출구 병목, 복도 병목, 양방향 흐름 충돌, 제한시간 초과 대표 fixture를 추가합니다.
  • 감지 기준 경계값 테스트를 추가합니다.
  • 위험상황별 추천 후보와 우선순위가 의도대로 유지되는지 검증합니다.
  • 데이터 부족/추천 없음 케이스를 검증합니다.
  • UI snapshot이나 시각 회귀는 이 이슈에 포함하지 않습니다.

Acceptance Criteria

  • 네 가지 위험상황의 감지/추천 회귀 테스트가 존재합니다.
  • 기준값 근처에서 과탐지/미탐지 방지 테스트가 존재합니다.
  • 추천 후보의 우선순위와 근거 요약이 대표 케이스에서 안정적으로 검증됩니다.
  • test-no-app-debug preset으로 검증 가능합니다.

Architecture / Dependency Check

  • 테스트는 domain 로직을 대상으로 합니다.
  • application UI 테스트는 별도 필요 시 후속 이슈로 분리합니다.
  • engine 내부 구현 세부사항에 의존하지 않습니다.

Verification Plan

  • cmake --build --preset build-no-app-debug
  • ctest --preset test-no-app-debug
  • 실패 시 어떤 위험상황 fixture가 깨졌는지 확인하기 쉬운 테스트 이름을 사용합니다.

Dependencies / Blockers

  • Task-대안추천 data contract 추가, 위험상황 감지 구현, 추천 규칙 엔진 구현 이후 진행합니다.
  • 관련 문서: docs/alternative-recommendation-plan.md, docs/alternative-recommendation-evidence.md

Repository Checks

  • I checked for an existing related issue or epic before creating this task.
  • I will keep the issue title aligned with the repository naming convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions