Skip to content

Commit

Permalink
Refactor readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane committed Dec 3, 2024
1 parent 9493034 commit 1b369b5
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 1b369b5

Please sign in to comment.