Skip to content
Snippets Groups Projects
Commit 5f4fcebd authored by Jedrzej Rybicki's avatar Jedrzej Rybicki
Browse files

Update README.md (testing_requirements + nose)

parent 5eb70676
Branches
Tags
No related merge requests found
Pipeline #69734 passed
......@@ -70,9 +70,13 @@ More information about uvicorn settings (including information about how to bind
### Testing
First ensure that the `pytest` package is installed (It is included in the `requirements.txt`).
First ensure that the `pytest` package is installed (It is included in the `testing_requirements.txt`).
Tests are located in the `apiserver_tests` directory. They can be executed by simply running `pytest` while in the project folder.
Tests are located in the `apiserver_tests` directory. They can be executed by simply running `pytest` while in the project folder. You can also use
nose for test (also included in `testing_requirements.txt`), for instance for tests with coverage report in html format run following:
```bash
nosetests --with-coverage --cover-package=apiserver --cover-html
```
If more test-files should be added, they should be named with a `test_` prefix and put into a similarily named folder, so that they can be auto-detected.
......@@ -80,7 +84,6 @@ The `context.py` file helps with importing the apiserver-packages, so that the t
### Using the docker image
#### Building the docker image
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment