django-kaskader

Tool for generating simple Django tests

Requirements

  • Django

Some utilities require additional libraries as:

  • django-pragmatic

  • djnago-filter

  • better-exceptions

Installation

  1. Install python library using pip: pip install django-kaskader

  2. Add kaskader to INSTALLED_APPS in your Django settings file

Usage

Subclass GenericBaseMixin and GenericTestMixin in your TestCase class, setup inputs from InputMixin as needed and run test command, generic tests for discovered urls, filters and querysets will be included.