Testing utilities for Oscar
Project description
===========================
Testing utilities for Oscar
===========================
Warning
-------
As of Oscar 0.6, this package has been merged back into Oscar, within the
``oscar/test`` package. There will be no 0.5 release of this package.
Description
-----------
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
===========================
Warning
-------
As of Oscar 0.6, this package has been merged back into Oscar, within the
``oscar/test`` package. There will be no 0.5 release of this package.
Description
-----------
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.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f1b18dfe72f4842ad1836f5677bb9911c46a7657bba8b4ca56364e59d464fa7 |
|
MD5 | 3184f1486762514f80b0fb1cc866fd5c |
|
BLAKE2b-256 | a9d2da7a8c06326bd357da9253e638154390413791a45f7a7e170366d3898cc3 |