Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mattermost-matchmaker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KSZK
Open Source
mattermost-matchmaker
Commits
89385a9d
Commit
89385a9d
authored
4 years ago
by
Tamas Kiss
Browse files
Options
Downloads
Patches
Plain Diff
Added coverage to test requirements
parent
92383805
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.coveragerc
+22
-0
22 additions, 0 deletions
.coveragerc
README.md
+2
-1
2 additions, 1 deletion
README.md
requirements-test.txt
+1
-0
1 addition, 0 deletions
requirements-test.txt
with
25 additions
and
1 deletion
.coveragerc
0 → 100644
+
22
−
0
View file @
89385a9d
# .coveragerc to control coverage.py
[run]
branch = True
source = coffee_bot
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
ignore_errors = True
[html]
directory = coverage_html_report
This diff is collapsed.
Click to expand it.
README.md
+
2
−
1
View file @
89385a9d
...
...
@@ -20,4 +20,5 @@ pip install -r requirements-local.txt
```
The supported IDE for this project is VScode
run tests by
`python -m pytest`
To run tests:
`python -m pytest`
To run coverage:
`coverage run -m pytest; coverage report -m`
This diff is collapsed.
Click to expand it.
requirements-test.txt
+
1
−
0
View file @
89385a9d
...
...
@@ -3,3 +3,4 @@
mock==4.0.3
pytest==6.2.2
pylint==2.7.1
coverage==5.5
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment