test_health.py |
health_check() |
{"status": "ok"} 반환 확인 |
test_normalize_service.py |
NormalizeService |
RawEntry → NormalizedContent 변환 검증 |
test_preprocess_service.py |
PreprocessService |
HTML→텍스트 변환, 노이즈 제거, 구조 보존 검증 |
test_html_helpers.py |
html_helpers |
Kakao 본문 추출, 셀렉터 폴백 등 HTML 파싱 유틸 |
test_extract_first_image.py |
extract_first_image |
썸네일 이미지 추출 (data URI 스킵, 상대 경로 해석 등) |
test_sent_id_store.py |
SentIdStore |
cross-run dedup 저장/로드 동작 확인 |
test_stackoverflow_collector.py |
StackOverflowCollector |
SO 수집·스크래핑, score/view_count 매핑, NormalizedContent 변환 |
test_velog_collector.py |
VelogCollector |
Velog GraphQL 수집, trending/posts 폴백, 날짜 필터 |
test_velog_backfill_collector.py |
VelogBackfillCollector |
백필 GraphQL 수집, 커서 전환, body 보강, score=None 확인 |
test_content_repository.py |
ContentRepository |
PostgreSQL 저장, score 매핑, 소스 캐시, 중복 스킵 |
test_content_pipeline.py |
ContentPipeline |
5단계 오케스트레이션, 단계별 실패 격리, thumbnail 전달 |
test_all_levels_summary_service.py |
AllLevelsSummaryService |
Tool Use 기반 4레벨 동시 요약 mock 테스트 (DP-300) |
test_all_levels_summary_endpoint.py |
POST /internal/summaries |
4레벨 요약 엔드포인트 통합 테스트 (DP-300) |
test_summary_repository.py |
SummaryRepository |
DynamoDB ai_summaries upsert mock 테스트 |
test_chunker.py |
DocumentChunker |
문서 청킹, 메타데이터, 빈 입력 처리 |
test_embedding_service.py |
EmbeddingOrchestrator |
청킹→임베딩→저장 오케스트레이션 mock 테스트 |
test_vector_repository.py |
VectorRepository |
DynamoDB rag_documents upsert/조회 mock 테스트 |
test_vector_store.py |
VectorStoreManager |
FAISS 로드/생성/추가/검색 mock 테스트 |
test_retriever.py |
RAGRetriever |
FAISS 유사 검색 mock 테스트 |
test_question_embedding.py |
QuestionEmbeddingOrchestrator |
질문 임베딩 저장 (DynamoDB + FAISS) mock 테스트 |
test_refine_service.py |
RefineService |
Tool Use 기반 질문 개선 mock 테스트 (DP-231) |
test_refine_endpoint.py |
POST /internal/refine |
질문 개선 엔드포인트 통합 테스트 (DP-231) |
test_answer_service.py |
AnswerService |
Tool Use 기반 AI 1차 답변 mock 테스트 (DP-234) |
test_answer_prompt.py |
build_user_prompt() |
답변 프롬프트 빌더 단위 테스트 (DP-234) |
test_similar_question_service.py |
SimilarQuestionService |
FAISS 유사 질문 검색, 자기 자신 제외, threshold 필터 |
test_similar_question_endpoint.py |
POST /internal/similar-questions |
유사 질문 엔드포인트 통합 테스트 (DP-235) |
test_insight_service.py |
InsightService |
Tool Use 기반 주간 인사이트 mock 테스트 (DP-259) |
test_insight_endpoint.py |
POST /internal/report |
주간 리포트 엔드포인트 통합 테스트 (DP-259) |
test_insight_prompt.py |
build_user_prompt() |
인사이트 프롬프트 빌더 단위 테스트 |
test_rss_collector.py |
xml_helpers |
xml_helpers 유틸 함수 테스트 (compute_entry_hash, sha256_text, normalize_date 등) — 파일명은 레거시 |
test_trend_data_loader.py |
TrendDataLoader |
cur/prev 기간 병렬 로드, prev_contents 포함 확인 (DP-379, DP-386) |
test_trend_collection_summary.py |
CollectionSummaryGenerator |
수집 동향 LLM 서사 요약 mock 테스트 (DP-384) |
test_trend_top_posts_summary.py |
TopPostsSummaryGenerator |
Top 5 콘텐츠 LLM 서사 요약 mock 테스트 (DP-404) |
test_trend_orchestrator.py |
TrendOrchestrator |
배치 오케스트레이터 통합 흐름, skip/force/LLM 실패 격리, 캐시 무효화 통합 (DP-386, DP-387) |
test_trend_cache_eviction.py |
CacheEvictionClient |
URL 조합, 성공/비204/네트워크 오류/타임아웃 best-effort 처리 (DP-387) |
test_trend_endpoint.py |
POST/GET /internal/trends |
트렌드 엔드포인트 통합 테스트 — 수동 생성, 0건/5건미만 에러, 조회 404 (DP-385) |