Skip to content

Use pytest to run search engine backend tests #1909

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

Open
wants to merge 1 commit into
base: solr-schema-api
Choose a base branch
from

Conversation

alastair
Copy link
Member

Description
Instead of writing a custom script to perform tests for the solr backend, use pytest. We specify a new mark which allows us to select only these tests, by default they are not included with unit tests.

Todo:

  • check that they give the same results as the normal script
  • now that we run in a test harness, the database is empty. Populate it with some test items
  • restore the debug code which writes text files with results

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