Skip to content

Commit

Permalink
Add unit tests coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-96 committed Nov 15, 2020
1 parent a249227 commit 6af23fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ lib/
# pytest
.pytest_cache/

# pytest-cov
htmlcov/
coverage/
.coverage

# request cache
github.sqlite

Expand Down
5 changes: 5 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[pytest]
addopts = --cov-branch --cov=scripts --cov-report html:coverage

testpaths =
tests
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
flake8
pytest
pytest-cov

0 comments on commit 6af23fe

Please sign in to comment.