-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How to test repository [exposed]? #1977
Comments
What is the purpose of the test? Is it to test storage/exposed? Or routes in Ktor? Based on that, then different solutions are possible. If it's about testing storage I'd recommend doing this outside of a Ktor test, and using something like TestContainers. |
I want to test repository, check that methods return correct values. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I need to know how can I test my repository. For example:
How can I test it? I use ktor + exposed, so I thought that "withTestApplication" will be work but it doesn't .
The text was updated successfully, but these errors were encountered: