Skip to content
/ djet Public
forked from sunscrapers/djet

Django Extended Tests is set of helpers for easy testing of Django apps.

License

Notifications You must be signed in to change notification settings

la1t/djet

 
 

Repository files navigation

djet

Django Extended Tests is a set of helpers for easy testing of Django apps.

Main features:

  • easy unit testing of Django views (ViewTestCase)
  • useful assertions provides as mixin classes:
    • response status codes (StatusCodeAssertionsMixin)
    • emails (EmailAssertionsMixin)
    • messages (MessagesAssertionsMixin)
    • model instances (InstanceAssertionsMixin)
  • handy helpers for testing file-related code (InMemoryStorageMixin and others)
  • smooth integration with Django REST Framework authentication mechanism (APIViewTestCase)

Full documentation available on read the docs.

Developed by SUNSCRAPERS with passion & patience.

Requirements

  • Python: 2.7 (Only Django 1.11), 3.4+
  • Django: 1.11, 2.0+
  • (optional) Django REST Framework: 3.7+

Installation

Simply install using pip:

$ pip install djet

Documentation

Full documentation is available to study at read the docs and in docs directory.

About

Django Extended Tests is set of helpers for easy testing of Django apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.3%
  • Makefile 0.7%