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

e2e: Don't use JSON responses, test the path operation function directly #28

Open
ewen-lbh opened this issue Aug 31, 2020 · 0 comments
Open
Assignees

Comments

@ewen-lbh
Copy link
Member

Because the sole difference between testing the function directly and testing with an http client is the serialization/dependency injection, and that this is already done, it'll be less akward if I test using the function, because no parsing/serializing JSON will take place, as the function returns models directly. I'll still need to test for the database though.

@ewen-lbh ewen-lbh self-assigned this Aug 31, 2020
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