Skip to content

Django REST Framework based fully tested application

License

Notifications You must be signed in to change notification settings

stepik-a-w/drf_tests_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stepik Django Rest Framework tests

Build Status codecov

This Django application shows API testing best practices collected from Stepik's Django Rest Framework course.

Highlights

Installation

$ pip install pipenv
$ pipenv install -dev

Configuration

Pass POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_HOST and POSTGRES_PORT environments to Django or copy settings/base/db.py to settings/local/db.py and feel free to change local settings. Yes, it works for all settings from base.

Running tests

$ python manage.py test

Checking coverage

$ coverage run

License

MIT

Releases

No releases published

Packages

No packages published

Languages