[edited by @PGijsbers] Currently a lot of unit tests are written with the unittest module, but we want to use pytest instead. Generally speaking, this means extracting the test methods into pytest functions, optionally adding things like pytest fixtures to replace setup/tear-down logic and using plain assert instead of the unittest-based assert methods. Below is an overview of which files have already been migrated:
[edited by @PGijsbers] Currently a lot of unit tests are written with the
unittest
module, but we want to usepytest
instead. Generally speaking, this means extracting the test methods into pytest functions, optionally adding things like pytest fixtures to replace setup/tear-down logic and using plainassert
instead of theunittest
-based assert methods. Below is an overview of which files have already been migrated:openml-python/tests/