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

Review backend integration tests and ensure all API endpoints are covered #795

Open
rwood-moz opened this issue Dec 16, 2024 · 3 comments · May be fixed by #822
Open

Review backend integration tests and ensure all API endpoints are covered #795

rwood-moz opened this issue Dec 16, 2024 · 3 comments · May be fixed by #822
Assignees
Labels
enhancement New feature or request testing Issues specific to automated testing

Comments

@rwood-moz
Copy link
Contributor

Develop an API test suite to test the Appointment back end APIs. For a list of endpoints / APIs to be tested refer to the automatically generated OpenAPI documentation (start the Appointment back end locally and browse to http://localhost:5173/docs).

@rwood-moz rwood-moz added enhancement New feature or request testing Issues specific to automated testing labels Dec 16, 2024
@rwood-moz
Copy link
Contributor Author

Also investigate submitting the test results to TestRail automatically after the API suite is run in CI.

@rwood-moz rwood-moz self-assigned this Jan 10, 2025
@rwood-moz
Copy link
Contributor Author

Update: After a closer look at the existing backend integration tests I see that the integration tests use the APIs and exercise them quite thoroughly, including in negative conditions (401, 403, 404, 422's, etc). Therefore I really don't see the need to develop a separate API test suite as that would duplicate much of the existing integration tests. So instead I'm going to review the integration tests (against the backend API documentation) and just ensure that the integration tests cover all of the backend API endpoints thoroughly, and update the integration tests if I see anything missing. Will change this issue title accordingly.

@rwood-moz rwood-moz changed the title Develop an API test suite for the back end APIs Review backend integration tests and ensure all API endpoints are covered Jan 10, 2025
@rwood-moz
Copy link
Contributor Author

@rwood-moz rwood-moz linked a pull request Jan 15, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing Issues specific to automated testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant