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

Fix test skipping for collection dbs #41

Merged
merged 1 commit into from
Nov 12, 2018

Conversation

james-monkeyshines
Copy link
Contributor

The code was not properly handling the skipping of tests for collection databases. The skipping was done at the database level, with species_id=1 deciding whether tests were skipped for all species. Have now separated the logic of skipping a datacheck (which happens at the db-level, e.g. because tables haven't been updated) and the skipping of tests (which happens at the species-level). Seemed to make sense to rename the 'run_tests' method to 'run_datacheck', to match the structure/logic of the code.

…on databases. The skipping was done at the database level, with species_id=1 deciding whether tests were skipped for all species. Have now separated the logic of skipping a datacheck (which happens at the db-level, e.g. because tables haven't been updated) and the skipping of tests (which happens at the species-level). Seemed to make sense to rename the 'run_tests' method to 'run_datacheck', to match the structure/logic of the code.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 156

  • 11 of 11 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 93.435%

Totals Coverage Status
Change from base Build 133: 0.004%
Covered Lines: 1409
Relevant Lines: 1508

💛 - Coveralls

@james-monkeyshines james-monkeyshines merged commit 2541753 into master Nov 12, 2018
@james-monkeyshines james-monkeyshines deleted the bugfix/skipping_in_collections branch November 12, 2018 09:31
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.

None yet

3 participants