Skip to content

Commit

Permalink
Merge pull request #146 from sambhavnoobcoder/Updated-Readme-Tests
Browse files Browse the repository at this point in the history
Add Instructions for Running Tests Locally to README.md #126
  • Loading branch information
bishoy-at-pieces authored Jul 22, 2024
2 parents cf4e6e6 + 6cb4e09 commit f794c65
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,25 @@ To update the project, run the following command:
pip install pieces-cli --upgrade
```
### Testing
To discover and run all the test cases in the repository, run the following command:
```shell
pytest
```
To check the test coverage, you can use the coverage package. Install coverage with:
```shell
pip install coverage
```
Run the tests with coverage using the following command:
```shell
coverage run -m pytest
coverage report
```
### Uninstallation
To uninstall the project, run the following command:
Expand Down

0 comments on commit f794c65

Please sign in to comment.