Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
David Winterbottom ba59c01467 Add email dashboard 13 år sedan
..
functional Add email dashboard 13 år sedan
integration Turns out there are empty strings being passed to the currency filter 13 år sedan
site cleanup django 1.4 depreciation 13 år sedan
unit Adjust condition consumption in offers 13 år sedan
README.rst Add integration test for currency templatetag 13 år sedan
__init__.py Reworked the way tests are run to not require the examples files. 13 år sedan
config.py Move notifications into customer app 13 år sedan

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.