Skip to content

Commit

Permalink
[pytest/coverage]: add coverage support (sonic-net#156)
Browse files Browse the repository at this point in the history
* [pytest/coverage]: add coverage support
* Remove unused config
* Add test dependencies
  • Loading branch information
qiluo-msft authored Aug 12, 2020
1 parent 90e9f2e commit d06f00c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pytest]
addopts = --cov=src --cov-report html --cov-report term --cov-report xml
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

test_deps = [
'mockredispy>=2.9.3',
'pytest>=3.0.5',
'pytest',
'pytest-cov',
]

high_performance_deps = [
Expand Down

0 comments on commit d06f00c

Please sign in to comment.