Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 351 Bytes

File metadata and controls

23 lines (19 loc) · 351 Bytes

Unit Test Notes

Unit Test

Open a new terminal interface, and simply run:

pytest

if you want get coverage report, run

pytest --cov=./app

more complicated version

pytest --cov-report html \
       --cov-report annotate \
       --cov=./app
pytest --cov-report html --cov-report annotate --cov=./app