Skip to content

Commit bf0bf44

Browse files
Add unit tests and coverage report
1 parent f376539 commit bf0bf44

File tree

6 files changed

+1563
-1
lines changed

6 files changed

+1563
-1
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.env
2+
.coverage
23
montystats.json
34
ozzystats.json
45
users.txt
6+
__pycache__/

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ install:
88

99
script:
1010
- pytest --cov-report term --cov=plugins tests/
11+
# - pytest --cov-report xml:cov.xml --cov=plugins tests/
1112

1213
after_success:
1314
- codecov

.vscode/settings.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"python.testing.pytestArgs": [
3+
"tests"
4+
],
5+
"python.testing.unittestEnabled": false,
6+
"python.testing.pytestEnabled": true
7+
}

0 commit comments

Comments
 (0)