diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2025-05-30 00:38:26 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2025-05-30 00:38:26 +0900 |
commit | dcb363d429b7c284946e04c53f1fc21456e8faff (patch) | |
tree | 89f6686a801de3e14630f9ca332a9226ec529dc0 /README.md | |
parent | 82b754bdcf781eabf182293561838fabe21a467d (diff) | |
download | scadere-dcb363d429b7c284946e04c53f1fc21456e8faff.tar.gz |
Gotta go fast
Coverage does not seem to work with pytest-xdist without pytest-cov.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md index 1967b9d..d07b743 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,9 @@ Options: ## Hacking -Unit testing is done with [pytest], [pytest-asyncio], -[Hypothesis] and [trustme]. Since scadere itself does not depend +Unit testing is done with [Hypothesis], +[pytest]-{[asyncio][pytest-asyncio],[cov][pytest-cov],[xdist][pytest-xdist]} +and [trustme]. Since scadere itself does not depend on any Python package, it is safe to be tested in-tree: PYTHONPATH=src pytest @@ -51,10 +52,8 @@ on any Python package, it is safe to be tested in-tree: Issues should be reported to [chung@loa.loang.net][loang mailing list]. The mailing list also welcomes patches. Please maintain -a full branch [coverage] and keep the [hobgoblins][flake8] happy: +a full branch coverage and keep the [hobgoblins][flake8] happy: - PYTHONPATH=src coverage run - coverage report flake8 Patches should be sent using [`git send-email`][git send-email] @@ -71,12 +70,13 @@ Scadere is free software: you can redistribute and/or modify it under the terms of the GNU [Affero General Public License][agpl] version 3 or later. +[Hypothesis]: https://hypothesis.rtfd.io [pytest]: https://docs.pytest.org [pytest-asyncio]: https://pytest-asyncio.rtfd.io -[Hypothesis]: https://hypothesis.rtfd.io +[pytest-cov]: https://pytest-cov.rtfd.io +[pytest-xdist]: https://pytest-xdist.rtfd.io [trustme]: https://trustme.rtfd.io [loang mailing list]: https://loa.loang.net/chung -[coverage]: https://coverage.rtfd.io [flake8]: https://flake8.pycqa.org [git send-email]: https://git-send-email.io [agpl]: https://www.gnu.org/licenses/agpl |