-
Notifications
You must be signed in to change notification settings - Fork 2
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] My Page Unit Test (#199) #202
Conversation
XCTAssertTrue(isEventOccured!) | ||
} | ||
|
||
func test_데이터바인딩성공() { |
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.
메서드명을 좀더 자세하게 적는게 좋을거같아용
func test_데이터바인딩성공() { | |
func test_myPage데이터가_제대로_들어왔을때_UI에_반영이_잘_되는지() { |
final class MyPageManagerStub: MyPageManager { | ||
|
||
var appData: BadgeProfileAppData? | ||
var resignResult: Bool? |
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.
단순히 데이터를 return해주는게 아닌 appData가 잘 들어왔는지, resignUserResult로인해 함수호출이 잘되었는지까지 확인하는거면 Stub보다는 spy가 맞을거같습니다
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.
반영사항 확인부탁드립니다~
🌱 작업한 내용
🌱 PR Point
my page network와 관련된 service unit test
my page view model unit test
my page view controller unit test
📸 스크린샷
coverage 진척도
📮 관련 이슈