Skip to main content

Testing utilities for Oscar

Project description

A simple package to allow the test utils from Oscar to be used by other packages.


  • 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.

Project details

Download files

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

Files for django-oscar-testsupport, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django-oscar-testsupport-0.1.1.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page