-
Notifications
You must be signed in to change notification settings - Fork 3
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
Addressing overuse of fixtures #118
Conversation
@chrisiacovella , can you please look at the two tests still failing in the dataset test module? I can't figure out why these are not passing, I think it has to do with the caching. |
I think that one is ready for review! @chrisiacovella , could you please take a look at the failing tests for the dataset, I can't figure out what is going wrong here. |
Merging |
Description
We have accumulated technical debts in the configuration of some of our tests. This PR is a first attempt to clean up the overuse of slightly similar but different fixtures, for which the control flow is hidden in
conftest.py,
making it sometimes difficult to understand what is done in a particular test.I opted for explicitly passing control parameters to each test instead of hiding these in fixtures. I have cleaned up some of the fixtures and simplified them where appropriate. We still use fixtures to set up datasets/databases/database containers. (Sidenote: In one of the next PRs, we need to address the inflationary use of the word dataset in the classes --- it is challenging to distinguish between some of the concepts without reading the documentation.)
Todos
Status