Commit f7464719 authored by Georges Racinet's avatar Georges Racinet 🦑

README: update tests guide

parent 4bfffd69ef9a
Pipeline #12349 passed with stages
in 2 minutes and 45 seconds
......@@ -35,16 +35,20 @@ Python 2 support will be dropped entirely when we will have a new home for
### Launching the tests
We have unit tests with `py.test`, they'd be typically run in a virtualenv:
We have unit and integration tests with `pytest`, they'd be typically
run in a virtualenv:
python 3 -m venv venv
venv/bin/pip install -r install-requirements.txt -r test-requirements.txt
source venv/bin/activate
Note: relying on virtualenv activation to run the tests simply as `pytest` has
been playing tricks with us, but the direct form above worked in all cases
We have a 100% coverage policy, that is enforced by `run-all-tests` and
therefore by the continuous integration.
This full run takes about 20 seconds in our continuous integration, and
usually less than that on developer workstations.
### Workflow rules
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment