-
Notifications
You must be signed in to change notification settings - Fork 47
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
강원대 FE_ step1 과제 제출합니다. #34
Open
HeHelee
wants to merge
19
commits into
kakao-tech-campus-2nd-step2:hehelee
Choose a base branch
from
HeHelee:step1
base: hehelee
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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.
테스트 코드를 처음 작성해봐서 제가 제대로 작성했는지 의문이 듭니다 ㅠㅠ
그래서 Next Step 자료 보면서 Given When Then 형식을 따르면서 코드를 구현하려고 노력했고, 각 주석을 붙혔습니다.
그리고 궁금한 점이 있습니다.
기능 요구사항에서 단위 테스트를 작성하는 부분에는 보통 어떤 부분을 단위 테스트로 작성해야 할지 감이 안잡힙니다.. ㅎㅎ
그래서 우선 util 함수 안에 있는 storage 파일을 단위 테스트로 작성하긴 했는데요. 단위 테스트로 작성했으면 하는 부분이 있다면 피드백 부탁드리겠습니다 !
그리고 msw 관련해서 궁금한 사항이 있습니다.
msw는 백앤드에서 api가 만들어지기 이전에 test를 하기 위해서 사용하는 mock data로 알고 있는데 맞는지요, 그리고 api를 호출하는 부분이 아니라면 굳이 msw를 이용해서 test를 작성할 필요는 없는건가요 ?