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.

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.

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.1.tar.gz (4.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-oscar-testsupport-0.1.tar.gz
Algorithm Hash digest
SHA256 5869ea9e867ef8676ebfcf87f97c08286fc432a376037affb19446004ecc3aa0
MD5 d2c8606a68a9069d6979a59bc3d7c302
BLAKE2b-256 1688885e14e96926ed24a2612e3b81e927a73bd32dafc5f141995a768f848196

See more details on using hashes here.

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