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

[ToDo] e2e 테스트를 위한 CodeceptJS를 적용하기 #193

Closed
saseungmin opened this issue Jun 1, 2021 · 2 comments
Closed

[ToDo] e2e 테스트를 위한 CodeceptJS를 적용하기 #193

saseungmin opened this issue Jun 1, 2021 · 2 comments
Labels
test about test, e2e test ToDo 할 일, To-Do

Comments

@saseungmin
Copy link
Collaborator

saseungmin commented Jun 1, 2021

🎯 인수테스트를 위해 CodeceptJS를 적용하기

  • 단위 테스트만으로는 시스템이 올바르게 작동하는지 알기 힘들다.
  • 사용자가 유용하게 사용할 수 있는지 미리 정의하는 것도 쉽지 않다.
  • 사용자와 소통하기 위한 교차점이 없다. 그렇기 때문에 인수테스트를 적용한다.

🎈 CodeceptJS 장점

  • JavaScript를 DSL(Domain Specific Language: 도메인 특화 언어)처럼 활용하고 있기 때문에 프로그래머가 아니라도 작성 또는 검토가 가능하다.

📌 참고 자료

@saseungmin saseungmin added the ToDo 할 일, To-Do label Jun 1, 2021
saseungmin added a commit to saseungmin/project-react-2-saseungmin that referenced this issue Jun 1, 2021
- .gitignore에 codeceptjs의 output 추가
- codeceptjs dependencies 설치
    - @codeceptjs/configure
    - @codeceptjs/ui
    - codeceptjs
    - playwright
- codeceptjs 초기 설정
- ci.yml의 Test 명령어 변경
@saseungmin
Copy link
Collaborator Author

saseungmin commented Jun 1, 2021

👉 2021.06.02 (수)

👉 2021.06.03 (목)

👉 2021.06.04 (금)

👉 2021.06.05 (토)

👉 2021.06.07 (월)

👉 2021.06.08 (화)

@saseungmin saseungmin added the test about test, e2e test label Jun 1, 2021
saseungmin added a commit to saseungmin/project-react-2-saseungmin that referenced this issue Jun 2, 2021
- 로그인 e2e 시나리오 작성
- 회원가입 e2e 시나리오 작성
saseungmin added a commit to saseungmin/project-react-2-saseungmin that referenced this issue Jun 3, 2021
- eslint globals에 codeceptjs와 Before readonly 추가
- codeceptjs autoLogin과 commentStep plugins 추가
- commentStep와 autoLogin 적용
- main 페이지 e2e 시나리오 추가
saseungmin added a commit to saseungmin/project-react-2-saseungmin that referenced this issue Jun 3, 2021
- npm test command Headless 추가
- 스터디 개설하기 페이지의 e2e 시나리오 작성
saseungmin added a commit to saseungmin/project-react-2-saseungmin that referenced this issue Jun 5, 2021
- lint globals 추가 (session, After)
- auto login user2 추가
- introduce e2e 테스트 시나리오
saseungmin added a commit to saseungmin/project-react-2-saseungmin that referenced this issue Jun 7, 2021
- 패스워드 필드 테스트시 secret 사용
- 스터디 후기에 대한 e2e 테스트를 작성
saseungmin added a commit to saseungmin/project-react-2-saseungmin that referenced this issue Jun 7, 2021
saseungmin added a commit to saseungmin/project-react-2-saseungmin that referenced this issue Jun 8, 2021
- 스터디 신청 및 신청서, 참여 승인에 관련된 e2e 테스트를 작성
@saseungmin
Copy link
Collaborator Author

📌 e2e 테스트를 위한 CodeceptJS를 적용하기 완료 (2021.06.08 (화))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test about test, e2e test ToDo 할 일, To-Do
Projects
None yet
Development

No branches or pull requests

1 participant