Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.52 KB

README.md

File metadata and controls

54 lines (41 loc) · 1.52 KB

Django Automated Testing Setup

python version 3.10 black isort

Submissions

How to Run

$ python3 --version
Python 3.10.9

$ python3 -m venv .venv
$ source .venv/bin/activate
$ python3 -m pip install -r requirements.txt

$ python3 manage.py migrate

$ make generate
$ make evaluate

Example Output

Ran 93 tests in 0.612s

OK
Name            Valid   Failed  Percentage
------------------------------------------
test_app        93      0       100.00%
------------------------------------------

Name                                     Stmts   Miss  Cover
------------------------------------------------------------
many_models/config/urls.py                   4      0   100%
many_models/employees/serializers.py        18      0   100%
many_models/employees/views.py             134     16    88%
many_models/manufacture/serializers.py      26      0   100%
many_models/manufacture/views.py           198     24    88%
------------------------------------------------------------
TOTAL                                      380     40    89%