diff --git a/Home.md b/Home.md index f63f9ab..77a190b 100644 --- a/Home.md +++ b/Home.md @@ -54,4 +54,12 @@ To start the app, you just have to run `calsocial` as a module: pipenv run env flask run -After this, your local instance is available on http://127.0.0.1:5000/ \ No newline at end of file +After this, your local instance is available on http://127.0.0.1:5000/ + +## Run the tests + +To run tests, use `pytest` (`PYTHONPATH` needs to be set explicitly, as `pipenv` doesn’t do it by default): + + pipenv run env PYTHONPATH=$(pwd) pytest --cov=calsocial + +This will also print a nice coverage report at the end. \ No newline at end of file