Test coverage - #93
Open
scs0209 wants to merge 2 commits into
Open
Conversation
- Add Vitest setup for canvas mocking and global API mocks. - Add Playwright configuration and basic E2E tests for the homepage. - Implement unit tests for representative shared/ui components (ThemeToggleButton, CubeModel). - Implement unit tests for a hypothetical entities component (PostCard). - Implement unit tests for a features component (LoginForm). - Implement integration tests for a views component (AuthPage login flow). - Update package.json with new testing dependencies.
- Modify tests/setup.ts to better support @react-three/test-renderer by removing unnecessary mocks for @react-three/fiber and adjusting mocks for @react-three/drei. - Rewrite src/shared/ui/__tests__/Cube.test.tsx using @react-three/test-renderer to enable more accurate and detailed testing of R3F component behavior, including scene graph inspection, event simulation, and frame advancement for animations.
|
Caution Review failedThe pull request is closed. Walkthrough테스트 인프라를 확대하여 Playwright를 사용한 E2E 테스트와 Vitest 기반 단위/통합 테스트를 추가합니다. 홈페이지, 로그인 폼, PostCard, ThemeToggleButton, CubeModel 컴포넌트에 대한 테스트 스위트와 전역 테스트 설정 파일, 그리고 관련 구성 파일들을 도입합니다. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Poem
✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (10)
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 |
Contributor
|
cursor review |
Contributor
|
/cursor review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by CodeRabbit
릴리스 노트
Tests
Chores
✏️ Tip: You can customize this high-level summary in your review settings.