From 1b369b544d6ef913f99e5b9cee05ace61f86f416 Mon Sep 17 00:00:00 2001 From: MasloMaslane Date: Tue, 3 Dec 2024 10:48:38 +0100 Subject: [PATCH] Refactor readme --- README.md | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 7ae7523..7562988 100644 --- a/README.md +++ b/README.md @@ -13,26 +13,9 @@ pip install -e .[tests] pip uninstall django pytest-django ``` -Then run the tests with `pytest` in the root directory of -the repository. - -```bash -pytest -v -``` +Then follow the instructions in +[General testing information](#general-testing-information). -To run tests in parallel, use the following command. - -```bash -pytest -v -n auto -``` - -To run tests with coverage, use the following command. - -```bash -pytest -v --cov=sio3pack --cov-report=html -``` - -Coverage report will be generated in the `htmlcov/index.html`. ### Test with django support @@ -42,7 +25,13 @@ Install the package in editable mode and with django dependencies: pip install -e .[django,tests,django_tests] ``` -Then run the tests with `pytest` in the root directory of +Then follow the instructions in +[General testing information](#general-testing-information). + + +### General testing information + +Run the tests with `pytest` in the root directory of the repository. ```bash