Skip to main content

A collection of cheater methods for the Django TestCase.

Project description

BaseTestCase

BaseTestCase is a collection of cheater methods for the Django TestCase. These came about as a result of learning and using TDD.

There are four different classes:

1. ModelTestCase
2. FormTestCase
3. ViewTestCase
4. FunctionalTestCase
    - For use with Selenium.
    - Origins and some methods from "Obey The Testing Goat".

Quick start

Import into test and use:

from BaseTestCase import ModelTestCase

class ModelTest(ModelTestCase):

    ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-basetestcase, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size django_basetestcase-0.0.5-py3-none-any.whl (2.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-basetestcase-0.0.5.tar.gz (1.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page