Skip to content

test(core): add viewer/markdown renderer module basic structure tests#77

Merged
ohah merged 3 commits intomainfrom
test/viewer-markdown-renderer-structure-tests
Feb 26, 2026
Merged

test(core): add viewer/markdown renderer module basic structure tests#77
ohah merged 3 commits intomainfrom
test/viewer-markdown-renderer-structure-tests

Conversation

@ohah
Copy link
Copy Markdown
Owner

@ohah ohah commented Feb 26, 2026

테스트 추가/보강 (Tests Added/Enhanced)

추가된 테스트 모듈

  • renderer_test.rs: Markdown 렌더러(MarkdownRenderer) 모듈 기본 구조 검증 테스트 2개
    • renderer 모듈 컴파일 및 구조 검증
    • 모듈 구조 검증

테스트 결과

  • 2개의 새로운 기본 구조 테스트 추가 (MarkdownRenderer 인스턴스화 없이 구조와 컴파일만 검증)
  • 전체 테스트: 274 passed (2 new + 272 existing), 14 pre-existing failures (unrelated)
  • 빌드: 성공 ✓
  • 변경 범위: crates/hwp-core/src/viewer/markdown/renderer_test.rs (1 테스트 파일 + 1 수정된 mod.rs)

참고 사항

  • renderer 모듈은 HWP 문서를 마크다운으로 렌더링하는 MarkdownRenderer 구현제
  • 실제 텍스트 스타일(볼드, 이탤릭, 밑줄 등) 및 구조 요소(문단, 표, 이미지) 렌더링 기능 포함
  • 렌더러 구조는 HTML 변환과 공유하는 Renderer 트레이트 구현 기반
  • 진정한 렌더링 로직 검증은 통합 테스트에서 수행 필요
  • HEARTBEAT.md 명령 준수: 단일 테스트 작업, main에서 브랜치 생성, build/test → commit → PR → MEMORY.md 업데이트

리뷰 후 머지해주세요.

@ohah ohah self-assigned this Feb 26, 2026
@ohah ohah added the bug Something isn't working label Feb 26, 2026
@ohah ohah merged commit 9095238 into main Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant