-
Notifications
You must be signed in to change notification settings - Fork 1
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
닉네임 유효성 검사 #117
닉네임 유효성 검사 #117
Conversation
import io.kotest.matchers.shouldBe | ||
|
||
class NicknameValidationUseCaseTest : BehaviorSpec() { | ||
private val nicknameValidationUseCase = NicknameValidationUseCase() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ViewModel을 테스트하는 거라면 viewModel 대신 sut라는 변수명을 사용하는 게 좋을 것 같아.
nicknameValidationUseCase도 원래는 sut라는 이름으로 지었지만, sut("닉네임")이라는 코드의 가독성이 떨어지는 것 같아서 usecase 이름을 그대로 사용했어
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
전체적으로 코드 읽기가 편해서 좋네용 ㅎㅎ 고생하셨습니다~~🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다~ (Approve 했어요)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TestConfig Class가 하는 일에 대해서 설명 부탁드립니다~ ( comment, slack, 또는 대면으로 하셔도 됩니다. )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://kotest.io/docs/extensions/junit_xml.html
이 부분을 적용하기 위한 코드인데, 실제로 적용에 성공하진 못 했어요 ㅠㅠ
Issue
Overview
Screenshot
To Reviewers
CI 테스트 관련 참고 자료
https://kotest.io/docs/extensions/junit_xml.html
https://github.com/EnricoMi/publish-unit-test-result-action