pymc4
pymc4 copied to clipboard
Centralize fixtures
As pymc4 grows, the test suite gets bigger and we add more fixtures to the test scripts. I think that it would be good practice to start to move the fixtures out of the test scripts and into either a central conf.py
or separate modules that get imported into a conf.py
. Some fixtures are awfully similar across test files and we may be able to fuse them into a single coherent fixture.
Reopening because #238 only moved the fixtures from test sampling to conftest.py, but the rest of the test scripts have fixtures too. They should all be moved and potentially refactored to reduce duplicate code.