Skip to content

자동화 테스트 추가 (pytest) #5

Description

@rlafurud
  • 설명: 백엔드에 테스트가 전무하다(find -iname '*test*' 결과 없음). LLM 호출을 모킹해 파이프라인 구조·DB 로딩·config 조립 로직을 회귀 테스트로 보호한다.
  • 완료 기준(DoD):
    • load_existing_mode, _resolve_db_name, assemble_draft 등 순수 로직 단위 테스트 작성
    • LLM 클라이언트를 모킹한 pipeline.generate 통합 테스트(스모크) 추가
    • pytest가 로컬에서 통과하고 requirements에 테스트 의존성 명시
  • 제안 브랜치: feature/backend-tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend백엔드/파이프라인

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions