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. They are extensions of 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.

Source Distribution

django-basetestcase-0.0.10.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

django_basetestcase-0.0.10-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page