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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 261715c581c47414a436a089146ec26bfae8e11cfd85f0912a662fe1091b5572 |
|
MD5 | 8ce5d962fb3df5a0e79d969eb101aaf8 |
|
BLAKE2b-256 | 52347e5b19e41777c1c0865241d3a51f53140a5d7e5434cb53d6e23e8746ddfc |