daffidwilde / edo

A library for generating artificial datasets through genetic evolution.
https://doi.org/10.1007/s10489-019-01592-4
MIT License
13 stars 0 forks source link

Improve test suite #115

Open daffidwilde opened 5 years ago

daffidwilde commented 5 years ago

For the sake of readability, and to make adding to the current test suite easier, a refactor may be needed. It would be nice to make use of hypothesis.composite to create our own strategies in the tests, or perhaps pytest.fixture for session-long test data, etc.

daffidwilde commented 5 years ago

At the very least, let's move away from having a tests/*/util/ directory. All of the hypothesis.given parameters should be defined at the beginning of each test file.

Having this hidden layer in the tests can only add confusion to potential contributors.