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

Add end-to-end tests to a sample API #91

Open
gomete opened this issue Mar 18, 2022 · 0 comments
Open

Add end-to-end tests to a sample API #91

gomete opened this issue Mar 18, 2022 · 0 comments

Comments

@gomete
Copy link
Contributor

gomete commented Mar 18, 2022

Is your feature request related to a problem? Please describe.

Tests are covering the internal structure of the code but not the features and the API functionality.

Describe the solution you'd like

Add end-to-end tests in C# using Microsoft.AspNetCore.Mvc.Testing that can run in the pipeline as any other unit test. Add sample API using the AspNetCore package so we can use Microsoft.AspNetCore.Mvc.Testing to test the HTTP calls and using actual mock files.

Describe alternatives you've considered

You can run e2e tests with any other framework like cypress, Karate, etc.

Additional context

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