-
Notifications
You must be signed in to change notification settings - Fork 0
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: Setting VIP 테스트코드 작성, 실패 메시지 문구 반대로 작성된 것 수정 #322
Conversation
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.
고생하셨습니다!
iOS/Layover/LayoverTests/Scenes/Setting/SettingViewControllerTests.swift
Outdated
Show resolved
Hide resolved
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.
고생하셨습니당 메세지 수정된게 대부분이라 따로 코멘트 달 것이 없구만유 !
|
||
// act | ||
sut.performUserWithdraw(request: request) | ||
try await Task.sleep(nanoseconds: 3_000_000_000) |
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.
다 바꾸는게 또 일이 될 것 같네요...
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.
네.. 내부에서 비동기 메소드를 호출하는지 안하는지 알고있어야..... 할 것 같아요 🙀
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.
이건 그러면 interactor의 메서드들을 async로 전환하고, 사용하는 쪽인 뷰컨에서 Task로 감싸 사용하는 것으로 하겠습니다~
🧑🚀 PR 요약
Linked Issue
close #316