Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sbws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
juga
sbws
Commits
4088ff9c
Commit
4088ff9c
authored
6 years ago
by
Matt Traudt
Browse files
Options
Downloads
Patches
Plain Diff
Update testing instructions
parent
2b485f3c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+1
-11
1 addition, 11 deletions
README.md
with
1 addition
and
11 deletions
README.md
+
1
−
11
View file @
4088ff9c
...
...
@@ -131,14 +131,4 @@ repository directory:
pip install -e .[test]
This should install tox and pytest.
Since my development environment has Python 3.5 and tox is only configured to
test 3.5, both the
`tox`
and
`pytest`
commands have the same result. Once sbws
gets properly open source, Travis should run tox with a variety of Python 3.X
versions.
To run the tests, run
`pytest`
. To generate HTML output of test coverage, run
`pytest --cov --cov-report=html`
. A
`htmlcov`
directory will be created in
current working directory. Open it in a web browser and prepare to be amazed.
It will highlight (un)covered lines! How cool is that?!
This should install tox and pytest. Then simply run
`tox`
.
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