pymc4 icon indicating copy to clipboard operation
pymc4 copied to clipboard

Centralize fixtures

Open lucianopaz opened this issue 4 years ago • 1 comments

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.

lucianopaz avatar Dec 19 '19 17:12 lucianopaz

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.

lucianopaz avatar Mar 31 '20 21:03 lucianopaz