From 2f1471041dba9cf75ceef4a6e8f3f176028986d7 Mon Sep 17 00:00:00 2001 From: Leonardo Giordani Date: Wed, 20 Apr 2022 10:48:41 +0100 Subject: [PATCH] fix: add instructions to test using pytest --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index d1a17ab5..ba6a7b4a 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,20 @@ pipenv run grow install pipenv run grow run ``` +## Testing with pytest + +You can test Grow using [pytest](https://docs.pytest.org/en/latest/) which is compatible with the library `Unittest`. Install pytest and [pytest-cov](https://pytest-cov.readthedocs.io/en/latest/) with + +```bash +pip install pytest pytest-cov +``` + +then run + +``bash +pytest -svv --cov=grow +``` + ## Documentation Visit https://grow.dev to read the documentation.