You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Winterbottom d94fdf4e24 Replace local patch_settings decorator with Django's override_settings 13 years ago
..
functional Replace local patch_settings decorator with Django's override_settings 13 years ago
integration Turns out there are empty strings being passed to the currency filter 13 years ago
site cleanup django 1.4 depreciation 13 years ago
unit Replace local patch_settings decorator with Django's override_settings 13 years ago
README.rst Add integration test for currency templatetag 13 years ago
__init__.py Reworked the way tests are run to not require the examples files. 14 years ago
config.py Move notifications into customer app 13 years ago

README.rst

=====
Tests
=====

Tests are split into 3 folders:

* unit - These are for tests that exercise a single unit of functionality, like
a single model. Ideally, these should not write to the database at all - all
operations should be in memory.

* integration - These are for tests that exercise a collection or chain of
units, like testing a template tag.

* functional - These should be as close to "end-to-end" as possible. Most of
these tests should use WebTest to simulate the behaviour of a user browsing
the site.