Skip to content

m-spitfire/cs453-dj-inittest

Repository files navigation

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%

About

Automated Django Integration Testing Setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •