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

다수 유저 테스트 방법 #46

Open
Epikem opened this issue Aug 20, 2021 · 2 comments
Open

다수 유저 테스트 방법 #46

Epikem opened this issue Aug 20, 2021 · 2 comments

Comments

@Epikem
Copy link
Contributor

Epikem commented Aug 20, 2021

현재 무상태 토큰 방식으로 로그인이 구현되어있어 여러 유저가 필요한 동작에 대한 테스트가 어려운 상황

대안

    1. 페이크 로그인 활성화시 요청에 특정 속성 (fake_user 등) 이 있을 경우 해당 유저로 간주
    • 문제점: 테스트와 실제 동작이 다를 수 있음
    1. 시간을 정해 실제 두 명이 기능 테스트
@seriousran
Copy link
Member

테스트와 실제 동작이 다를 수 있으면, 테스트가 큰 의미가 없지 않나요??ㅠ

@Epikem
Copy link
Contributor Author

Epikem commented Aug 25, 2021

네 그래서 그렇게 테스트하는건 구현할때 편의상 그렇게 하고 제대로는 2번 방법으로 테스트해야할거 같습니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants