Skip to content

Commit d06f00c

Browse files
authored
[pytest/coverage]: add coverage support (sonic-net#156)
* [pytest/coverage]: add coverage support * Remove unused config * Add test dependencies
1 parent 90e9f2e commit d06f00c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pytest.ini

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pytest]
2+
addopts = --cov=src --cov-report html --cov-report term --cov-report xml

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
test_deps = [
1010
'mockredispy>=2.9.3',
11-
'pytest>=3.0.5',
11+
'pytest',
12+
'pytest-cov',
1213
]
1314

1415
high_performance_deps = [

0 commit comments

Comments
 (0)