Testing utilities for Oscar
Project description
===========================
Testing utilities for Oscar
===========================
A simple package to allow the test utils from Oscar to be used by other
packages.
Contents:
* A ``@dataProvider`` decorator for feeding test methods with different
datasets. This is a port of a useful PHPUnit feature.
* A ``ClientTestCase`` which provides useful boilerplate functionality for when
working with Django's test client. It can set-up users as part of the
``setUp`` method.
* A ``WebTestCase``, similar to the ``ClientTestCase`` but for working with
WebTest.
* Various factory methods for creating orders, products, offers and vouchers.
Install
------
Install with::
pip install django-oscar-testsupport
Testing utilities for Oscar
===========================
A simple package to allow the test utils from Oscar to be used by other
packages.
Contents:
* A ``@dataProvider`` decorator for feeding test methods with different
datasets. This is a port of a useful PHPUnit feature.
* A ``ClientTestCase`` which provides useful boilerplate functionality for when
working with Django's test client. It can set-up users as part of the
``setUp`` method.
* A ``WebTestCase``, similar to the ``ClientTestCase`` but for working with
WebTest.
* Various factory methods for creating orders, products, offers and vouchers.
Install
------
Install with::
pip install django-oscar-testsupport
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
File details
Details for the file django-oscar-testsupport-0.2.1.tar.gz
.
File metadata
- Download URL: django-oscar-testsupport-0.2.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7988973c5c3168bb80f1f6ad7ffba68cbfb487c304d3aac3ff7b1696ce33eab6 |
|
MD5 | a0469cc7e16a9c3d7a58c75f13dad68d |
|
BLAKE2b-256 | feb2e514d99c6c6c93aafabe26a96606b383c0d6c07be9536920a42f11a11907 |