Motivation
We are always installing pytest-cov - but really it only makes sense to install it if we are also using coverage.
So we should check this integration.
Also, maybe we should be thinking about using pytest-cov as a way of detecting that the coverage is being used, because it is a dependency of pytest-cov.
Summary of desired enhancement
pytest-cov should only be added if we are using coverage
Motivation
We are always installing
pytest-cov- but really it only makes sense to install it if we are also using coverage.So we should check this integration.
Also, maybe we should be thinking about using
pytest-covas a way of detecting that thecoverageis being used, because it is a dependency ofpytest-cov.Summary of desired enhancement
pytest-covshould only be added if we are using coverage