Skip to content

長大なQueryServiceを伴うようなusecaseのテストについて #16

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

Open
suzukalight opened this issue Aug 25, 2020 · 0 comments

Comments

@suzukalight
Copy link
Owner

  • SQLベースのクエリを行うことになる。実質repositoryのテストになりそう
  • relationshipの深いエンティティのクエリを試す場合は、aggregateのcreateができないとテストケース作成が難しい
  • 多数のデータからfetchするようなテストの場合は、フェイカーなどで大量のデータ生成が必要
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant