diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 000000000000..3c8784dce9b3 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +addopts = --cov=src --cov-report html --cov-report term --cov-report xml diff --git a/setup.py b/setup.py index 6061851f4183..23b393a021a6 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,8 @@ test_deps = [ 'mockredispy>=2.9.3', - 'pytest>=3.0.5', + 'pytest', + 'pytest-cov', ] high_performance_deps = [