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

Clean up filter tests and add tests for basic searches #587

Merged
merged 3 commits into from
Jun 14, 2021

Conversation

lonvia
Copy link
Collaborator

@lonvia lonvia commented Jun 14, 2021

Brings a bit more order into the tests for the PhotonQueryBuilder. Unit tests remain in PhotonQueryBuilderTest.java. All tests that check that the queries actually produce the desired results are now in files named Query*Test.

The new tests are mainly there to ensure that places can be found at all with the expected query. They don't test for correct result ordering.

Factors out common code and reformats the tests to make them more
readable.
All query tests concerning the PhotonQueryBuilder are now collected
in files called Query*Test.
These tests check that all fields can be searched for as
expected. They do not test correctness of order.
@lonvia lonvia merged commit db6fa7c into komoot:master Jun 14, 2021
@lonvia lonvia deleted the query-builder-tests branch June 14, 2021 19:51
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

Successfully merging this pull request may close these issues.

1 participant