-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add some details about k8s deployments and how to run the test suite
- Loading branch information
Showing
3 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Testing | ||
|
||
Gantry uses `pytest` to manage its testing suite. Make sure you have installed `pytest`, `pytest-aiohttp`, and `pytest-mock` in your environment. | ||
|
||
The tests cover the collection and prediction functionalities, as well as core functionalities like helper functions and database actions. | ||
|
||
Running all tests: | ||
|
||
``` | ||
python -m pytest -s gantry | ||
``` | ||
|
||
If you would like to see details about test coverage, install `coverage` and run: | ||
|
||
``` | ||
coverage run -m pytest -s gantry && coverage html | ||
``` | ||
|
||
This will create a folder in the top-level directory containing an `index.html` file which you can open in a browser. |