Phase 3: 단위 및 E2E 테스트 추가#717
Conversation
compose 번들에 포함된 compose-ui-test, compose-ui-test-junit4, compose-ui-test-manifest, compose-ui-tooling을 제거하여 테스트 라이브러리가 runtime classpath에 유입되는 문제를 해결한다. 이 라이브러리들은 ComposePlugin과 AndroidTestPlugin에서 이미 올바른 configuration(testImpl, androidTestImpl, debugImpl)으로 추가되고 있으므로 번들에서 제거해도 영향이 없다.
- HiltTestRunner 추가 (WorkManager 테스트 초기화 포함) - testInstrumentationRunner를 HiltTestRunner로 변경 - work-testing 의존성 추가 - SmokeTest를 삭제된 SplashActivity 대신 HostActivity 기반으로 수정
딥링크 Intent 파싱 로직을 companion object의 @VisibleForTesting 함수로 추출하여 단위 테스트가 가능하도록 한다.
develop 브랜치 기준의 화면이동 스펙을 검증하는 테스트를 추가한다. - NavigatorTest: 백스택 동작 및 네비게이션 경로 검증 (16개) - ExtractNavKeyTest: 딥링크 Intent 파싱 로직 검증 (6개) - NavigationE2ETest: HostActivity 기반 E2E 네비게이션 경로 검증 (18개) - SmokeTest: 앱 실행 및 초기화 검증 (2개)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
NoticeWebKey, WebViewNotice 등의 테스트 파라미터를 실제 건국대학교 공지사항 URL 형식과 카테고리(학사, 장학, 일반 등)에 맞는 값으로 교체한다.
No description provided.