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. FunctionalTest
- For use with Selenium.
- Origins and some methods from "Obey The Testing Goat".
Quick start
-
Add "django-BaseTestCase" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'django-BaseTestCase', ]
-
Import into test and use:
from django-BaseTestCase import ModelTestCase
class ModelTest(ModelTestCase):
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-basetestcase-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b60620cee04013072a10c522dd1906ee36e9cff0ea55b545510b51e5344b3756 |
|
MD5 | 042f463d9e49de461bde254a957a30ed |
|
BLAKE2b-256 | 3ee8c9a10d5280fd4fdc3fee83a5aaaf7ccbd5b23f1cf715602b960217a79085 |
Close
Hashes for django_basetestcase-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51744d7cbf9d3c9173f465a32c07c76954e3f78c42c6473fb17de384f1c97518 |
|
MD5 | ee61a2ed5b5bdfb71392f668a2688244 |
|
BLAKE2b-256 | b90fcd26d612a533d5c7aecd34f2818aa31aa8d54c67e7235a8142d8c1b66910 |