From fd7c5fb2b430025f72cc375c49b4a9e22b365d00 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 23 Jul 2018 11:10:22 +0000 Subject: [PATCH] Update page 'Home' --- Home.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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