Tag tests with markers
We've been discussing the inconvenience of tests with long running times. Even if we work in reducing the computation times and the test data sizes, we will always need integration tests that are long. Having 2 sets of tests (long and short) may not be granular enough.
One solution is to give tags to tests so that they can easily be included/excluded in a test run. Possible, non-exclusive, tags could be:
- slow
- smoke
- unit
- integration
- ml
- sampling
- regression
- classification
- dl
- externalfeatures
Pytest allows to do that with markers:
https://docs.pytest.org/en/6.2.x/mark.html#mark
https://docs.pytest.org/en/6.2.x/example/markers.html
Of course, we need to implement #236 (closed) before that.
Edited by Jordi Inglada