Skip to main content

A collection of cheater methods for the Django TestCase.

Project description


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 django-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.

Source Distribution

django-basetestcase-0.0.2.tar.gz (5.5 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page