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

test: Setting VIP 테스트코드 작성, 실패 메시지 문구 반대로 작성된 것 수정 #322

Merged
merged 7 commits into from
Dec 13, 2023

Conversation

loinsir
Copy link
Collaborator

@loinsir loinsir commented Dec 12, 2023

🧑‍🚀 PR 요약

  • Setting Scene VIP 테스트 코드 작성
  • 실패 메시지 문구 반대로 작성된 것 모두 수정

Linked Issue

close #316

Copy link
Collaborator

@chopmozzi chopmozzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

Copy link
Member

@anyukyung anyukyung left a 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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요방법 생각보다 나쁘지 않은 것 같아요 환경에 따라 실행되는 시간이 다를 수 있다는게 큰 흠이긴 하지만..

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다 바꾸는게 또 일이 될 것 같네요...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 방법의 단점에 대해 또 방금 짜면서 느꼈는데, 블랙박스 테스트가 되질 않는다는 점...이 단점이겠네요

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네.. 내부에서 비동기 메소드를 호출하는지 안하는지 알고있어야..... 할 것 같아요 🙀

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이건 그러면 interactor의 메서드들을 async로 전환하고, 사용하는 쪽인 뷰컨에서 Task로 감싸 사용하는 것으로 하겠습니다~

@loinsir loinsir linked an issue Dec 13, 2023 that may be closed by this pull request
1 task
@loinsir loinsir merged commit cf6bf4d into iOS/dev Dec 13, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test: Setting VIP 테스트 코드 작성
3 participants