[7팀 이현지] Chapter 1-3. 완성도있는 테스트 전략 수립하기 - #36
Open
Leehyunji0715 wants to merge 73 commits into
Open
Leehyunji0715 wants to merge 73 commits into
Leehyunji0715 wants to merge 73 commits into
Conversation
* write sample test for ci/cd * refactor: add 'EventForm' and 'RepeatTypeSelect' Components * refactor: add 'OverlappedEventDialog' * refactor: use OverlappedEventDialog component * refactor: 주석제거 * refactor: apply 'RepeatTypeSelect' * refactor: add and apply Reapeat Input Form * refactor: add Event Basic, Repeat Form * refactor: add Notification Option Select Component * refactor: Calendar Naivagor * fix: lint * fix: importing icon way * fix: test pass
* feat(D&D): add handler functions * feat(D&D): add moving event with drag&drop * fix: prevent calling api when dropping to same table cell * style: add hovering effect to event item in calendar * fix: weekDates view
fix: calendar title
* feat(D&D): add handler functions * feat(D&D): add moving event with drag&drop * fix: prevent calling api when dropping to same table cell * style: add hovering effect to event item in calendar * fix: weekDates view * feature: 날짜 클릭으로 일정 생성 기능 개발
Storybook 테스트 추가
Author
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.
과제 3
필수 스펙
기본 과제
필수 스펙 개발과 E2E, 시각적 회귀 테스트를 모두 작성해주세요.
기본과제 제출
심화 과제
테스트 전략 작성해보기의 내용을 참고해서 지금까지 작성했던 프로젝트에 대해 테스트 전략을 구상해보세요.
심화 과제 제출
통합테스트를 하자! 라고 논의를 했는데, 정확히 어떤 테스트케이스를 할지까지는 합의? 결정은 못했습니다,, 아래 내용들은 테스트전략 논의할 때 추가 테스트가 필요할 것 같은 것들 중 언급되었던 테스트케이스들입니다!과제 셀프회고
2025-11-03 (월)1단계: 초기 환경 설정 및 기반 다지기 🛠️ - 테스트 환경 구축 및 컴포넌트 정리로 후속 작업 효율 극대화.
2단계: 핵심 기능 개발 및 시각적 회귀 테스트 병행 🎨 - 신규 기능 구현 및 UI/UX 의 시각적 안정성 조기 확보.
3단계: E2E 테스트 작성: 기본 워크플로우 검증 (CRUD) ✅ - 캘린더 시스템의 가장 기본적인 기능 안정성 확보.
4단계: E2E 테스트 작성: 고급 기능 검증 ⚙️
5단계: 최종 검토 및 제출 준비 📝
2025-11-04 (화)2025-11-05 (수)2025-11-06 (목)playwright.config.ts 수정=> parallel: false, 그리고 workers: 1 로 세팅하니 순차적으로 테스트가 실행되었다.playwright.config.ts의 webServer를 세팅했다. E2E때는e2e.json을 참조하게 하기 위해 아래처럼 웹서버 세팅을 했다.기술적 성장
브랜치 관리의 중요성: 1주차, 2주차때는 무작정 main 브랜치에다가 코드 커밋했더니 CI/CD 통과를 못했었다. 몇몇분들이 브랜치 단위로 관리하는것을 보고, 브랜치를 생성해서 main에다가 merge 하는 방식으로 변경했다. 그랬더니 리팩토링을 잘못하거나, 테스트를 잘못했을 때, PULL REQUEST 단에서 오류를 다 캐치하게 되었다. 브랜치 단위로 관리하는 것의 중요성과 CI/CD 세팅의 중요성을 몸소 경험했다! 브랜치 Squash도 해보고,, Rebase도 해보고... Merge도 해보고.. 다양하게 시도해봐서 좋았다.스토리북 + 크로마틱: 스토리북과 Chromatic 모두 이번에 처음 써봤다. 스토리북을 하면서 리액트 컴포넌트 단위로 잘 쪼개는게 정말 중요하다 느꼈고, 크로마틱또한 CI/CD에 쓰일 수 있다는 것을 처음 알았다.Playwright: Playwright는 개념만 알고 있었다. 실제로 제대로 써본거는 이번이 처음이었다. 분명 시나리오는 맞는데 Fail이 나오는것이 있었는데, 아무래도 비동기다보니 중간중간 해당 컴포넌트가 존재하는지 체크해야하는 것을 알게 되었다!코드 품질
useEventForm이 특히나 엄청 길었는데, 코드를 보니 딱히 건드릴게 없어보였다,,,ㅠㅠ 그나마 멘토링때react hook form소개해주셔서 그거를 참고하라 하신게 좋았다!학습 효과 분석
과제 피드백
기타
리뷰 받고 싶은 내용