You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -571,12 +572,30 @@ The used linter is [Ruff](https://ruff.rs/). Ruff is configured in `pyproject.to
571
572
572
573
For development, you can run linting locally with `ruff check . ` and optionally auto-format with `ruff format .`.
573
574
574
-
To ensuere compatibility with the `pyproject.toml` configured dependencies, run Ruff via Poetry:
575
+
To ensure compatibility with the `pyproject.toml` configured dependencies, run Ruff via Poetry:
575
576
576
577
```bash
577
578
# To check for linting issues:
578
579
poetry run ruff check .
579
580
580
581
# To auto-format code:
581
582
poetry run ruff format .
583
+
```
584
+
585
+
### Testing
586
+
587
+
When developing new features please make sure to add appropriate tests and ensure that all tests pass. Tests are under `tests/` and use [pytest](https://docs.pytest.org/en/7.4.x/) as test framework.
588
+
589
+
When fixing bugs or refactoring existing code, please make sure to add tests that cover the affected functionality. The current test coverage is very low, so any additional tests are highly appreciated.
590
+
591
+
To run tests locally, use:
592
+
593
+
```bash
594
+
pytest tests/
595
+
```
596
+
597
+
Or to ensure compatibility with the `pyproject.toml` configured dependencies, run pytest via Poetry:
0 commit comments