aboutsummaryrefslogtreecommitdiffstats
path: root/tests/README.md
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-10-31 07:39:03 +0100
committerGravatar Leon Sandøy <[email protected]>2019-10-31 07:39:03 +0100
commita98485e173208cc2272f5c6355ddaf5858050403 (patch)
treeb45f4dd1e87477c8c08e5e6dca5d6ae371d5d086 /tests/README.md
parentMerge branch 'duck_pond' of github.com:python-discord/bot into duck_pond (diff)
Figure out which tests we need.
This adds empty tests for all the tests I'd like to add to this pull request. It also adds a few more duckies to the emoji constant list, and adds a single line of clarification to the testing readme.
Diffstat (limited to 'tests/README.md')
-rw-r--r--tests/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/README.md b/tests/README.md
index 6ab9bc93e..d052de2f6 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -15,6 +15,7 @@ We are using the following modules and packages for our unit tests:
To ensure the results you obtain on your personal machine are comparable to those generated in the Azure pipeline, please make sure to run your tests with the virtual environment defined by our [Pipfile](/Pipfile). To run your tests with `pipenv`, we've provided two "scripts" shortcuts:
- `pipenv run test` will run `unittest` with `coverage.py`
+- `pipenv run test path/to/test.py` will run a specific test.
- `pipenv run report` will generate a coverage report of the tests you've run with `pipenv run test`. If you append the `-m` flag to this command, the report will include the lines and branches not covered by tests in addition to the test coverage report.
If you want a coverage report, make sure to run the tests with `pipenv run test` *first*.