sjvrijn / mf2

Collection of Multi-Fidelity benchmark functions
https://mf2.readthedocs.io/
GNU General Public License v3.0
25 stars 7 forks source link

rewrite regression tests using `pytest-regressions` #3

Closed sjvrijn closed 4 years ago

sjvrijn commented 4 years ago

This PyCon 2020 talk introduces the pytest-regressions package that abstracts the regression testing using a single function that also automatically creates any new files when needed

Docs: https://pytest-regressions.readthedocs.io/en/latest/index.html

sjvrijn commented 4 years ago

pytest-regressions currently does not seem to support parameterized tests as it uses test-function names. Will close this for now.

sjvrijn commented 4 years ago

Seems like it does actually work with parametrization 😅 time to implement then I guess