Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: 테스트 환경 구축 및 ci 추가 #227

Merged
merged 6 commits into from
Oct 21, 2024
Merged

Conversation

imdaxsz
Copy link
Contributor

@imdaxsz imdaxsz commented Oct 19, 2024

📝 개요

  • vitest, react-testing-library 기본 세팅
  • 테스트 ci 추가 (일단 간단하게 했습니다.)
  • 세팅 테스트용으로 받침 여부 검사 함수, Portal 컴포넌트 테스트 코드 작성

🚀 변경사항

🔗 관련 이슈

#121

➕ 기타

일단 초기 환경 세팅은 제 이슈(#121)에 연결해놓긴 했는데, 형준님 테스트 작업하실 때는 전용 이슈 하나 새로 파주세요!

@imdaxsz imdaxsz added test 테스트 관련 build 빌드 관련 labels Oct 19, 2024
@imdaxsz imdaxsz self-assigned this Oct 19, 2024
@imdaxsz imdaxsz requested a review from PHJoon October 19, 2024 14:21
@imdaxsz imdaxsz linked an issue Oct 19, 2024 that may be closed by this pull request
17 tasks
Copy link
Contributor

@PHJoon PHJoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm i -D @vitest/ui
vitest ui로 테스트 결과 보는건 어떤가요? 전체 테스트 결과 cli보다 깔끔하게 볼 수 있는 것 같아서요.
ci로 돌리니까 굳이 필요없겠네요
수고하셨습니다!! 🚀

@imdaxsz imdaxsz merged commit 2394e2d into develop Oct 21, 2024
2 checks passed
@imdaxsz imdaxsz deleted the test/unit-test/cmh branch October 21, 2024 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build 빌드 관련 test 테스트 관련
Projects
None yet
Development

Successfully merging this pull request may close these issues.

테스트 코드 작성
2 participants