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


Release history Release notifications

This version
History Node

0.4.1

History Node

0.4

History Node

0.3.1

History Node

0.3

History Node

0.2.1

History Node

0.2

History Node

0.1.1

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-oscar-testsupport-0.4.1.tar.gz (5.9 kB) Copy SHA256 hash SHA256 Source None Jan 10, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page