From dcb363d429b7c284946e04c53f1fc21456e8faff Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 30 May 2025 00:38:26 +0900 Subject: Gotta go fast Coverage does not seem to work with pytest-xdist without pytest-cov. --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'README.md') 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 -- cgit 1.4.1