Skip to content

Commit

Permalink
document how to run tests locally (#33)
Browse files Browse the repository at this point in the history
* add testing guide

* add locally
  • Loading branch information
aniketmaurya authored Apr 11, 2024
1 parent 0bdb8ec commit 2a47331
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,20 @@ Clients are expected to auth with the same API key set in the `X-API-Key` HTTP h

litserve is released under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license.
See LICENSE file for details.


# Run Tests

You can run tests locally using `pytest` to verify that all the tests pass after making any changes.

First, you need to install the test dependencies:

```shell
pip install -r _requirements/test.txt
```

Then, run pytest in your terminal as follows:

```shell
pytest tests
```

0 comments on commit 2a47331

Please sign in to comment.