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 unit tests for WebApi #18

Closed
baratgabor opened this issue Feb 26, 2021 · 0 comments
Closed

Add unit tests for WebApi #18

baratgabor opened this issue Feb 26, 2021 · 0 comments
Labels

Comments

@baratgabor
Copy link
Owner

The backend entry point, the WebApi project, is currently not tested.

Since this is an extremely shallow layer that is almost solely responsible for mapping an URI to an execution path, simple happy path unit tests will suffice.

Tasks:

  • Add a new unit testing project for WebApi.
  • Create happy path unit tests for the controller actions.
  • Include the new test project in the CI-CD pipelines and the coverage reporting.
  • Make sure that the WebApi assembly coverage is 90%+.
  • If needed, cover additional components too besides the controllers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant