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
Close
Hashes for django-oscar-testsupport-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ada5dfece45cc194d6e9c2a854ef842ecc3beb503c149294836e5e341190ba3 |
|
MD5 | c0763a0986e14b16e74e4dfbf96efddd |
|
BLAKE2b-256 | 13a3889ed5d04a9f9860de5e18eba3e07a60dca8fb49b5f71875bd211da4e9f4 |