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 query parameter testing for all endpoints #14

Open
pederhan opened this issue Dec 19, 2022 · 0 comments
Open

Add query parameter testing for all endpoints #14

pederhan opened this issue Dec 19, 2022 · 0 comments
Labels
enhancement New feature or request tests Unit and integration testing

Comments

@pederhan
Copy link
Member

The unit tests for the endpoints currently don't test whether or not the URL's query parameters contain the correct/expected values. This should be implemented in a way that is reusable by all unit tests, especially for the methods that take the common query, sort, page & page_size parameters.

One way to implement this would be to have a fixture that returns a dict of these values.

@pederhan pederhan added enhancement New feature or request tests Unit and integration testing labels Dec 19, 2022
@pederhan pederhan added this to Harbor Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests Unit and integration testing
Projects
None yet
Development

No branches or pull requests

1 participant