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.
Maik Hoepfel 6ebcee5780 Fix bug preventing product update 13 年之前
..
_site Rename test site folder for consistency 13 年之前
functional Fix bug preventing product update 13 年之前
integration Alter how absolute discounts are applied 13 年之前
unit Fix error when trying to delete empty image field 13 年之前
README.rst Split offer tests into unit/integration folders 13 年之前
__init__.py Reworked the way tests are run to not require the examples files. 14 年之前
config.py Rework test runner 13 年之前

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.

The 'integration' folder is relatively new and the process of migrating tests
from 'unit' is in place.