Skip to main content

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

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

django-oscar-testsupport-0.4.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file django-oscar-testsupport-0.4.tar.gz.

File metadata

File hashes

Hashes for django-oscar-testsupport-0.4.tar.gz
Algorithm Hash digest
SHA256 8a59ea70ab333a035fc96b5e690d3cc89a12194072e7ef330364c2d8518b2fa8
MD5 430cc6d9a19c1651ff98d007db3d5d06
BLAKE2b-256 e2acbb39b7bd837fc722de099b99f6cf4ace10b32d82833f8ab2bf0889b42c22

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page