From c48d7646dff313cbc1a28d3a967dc7d3c500e332 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 12 Nov 2020 19:04:38 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20dinglehopper:=20README-DEV:=20Ma?= =?UTF-8?q?ssage=20markdown=20a=20bit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-DEV.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README-DEV.md b/README-DEV.md index 2f16df7..219d125 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -1,5 +1,5 @@ -# Testing - +Testing +======= Use `pytest` to run the tests in [the tests directory](qurator/dinglehopper/tests): ```bash virtualenv -p /usr/bin/python3 venv @@ -9,28 +9,28 @@ pip install -r requirements-dev.txt pytest ``` -### Test running examples -### Only unit tests +## Test running examples +Only unit tests: ```bash pytest -m "not integration" ``` -### Only integration tests +Only integration tests: ```bash pytest -m integration ``` -### All tests +All tests: ```bash pytest ``` -### All tests with code coverage +All tests with code coverage: ```bash pytest --cov=qurator --cov-report=html ``` -### Static code analysis +Static code analysis: ```bash pytest -k "not test" --flake8 pytest -k "not test" --mypy