From 6b8ecc5cdd515c708d588fc399ac23d9d7e9ed55 Mon Sep 17 00:00:00 2001 From: Yiwei Zhang <18610590+zywkloo@users.noreply.github.com> Date: Thu, 18 Jan 2024 23:39:13 -0800 Subject: [PATCH 1/2] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0c58399..09a09af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "passwordler" -version = "0.0.1" +version = "1.0.0" description = "A simple utility package for passwords" authors = ["Kiersten Gilberg, Michelle Hunn, Rory White, Yiwei Zhang"] license = "MIT" From dba918ed330f8c0dbf19fdc4bedaa28457728fab Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Thu, 18 Jan 2024 23:47:10 -0800 Subject: [PATCH 2/2] Add pytest --cov-report --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 917a4ca..9a637e8 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,11 @@ If you have cloned the repository and want to run the tests, navigate to the roo $ pytest ``` +To show test coverage report +```bash +$ pytest --cov=passwordler --cov-report term +``` + ## Contributing For information about how to contribute to this package, please review our [Contributing document](https://github.com/UBC-MDS/passwordler/blob/main/CONTRIBUTING.md). All contributors must abide by our [Code of Conduct](https://github.com/UBC-MDS/passwordler/blob/main/CONDUCT.md)