Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
David Winterbottom ce0cef6033 Split voucher testcase for better coherence 13 лет назад
..
functional Add WebTest for creating an offer 13 лет назад
integration Add a status field to offers 13 лет назад
site cleanup django 1.4 depreciation 13 лет назад
unit Split voucher testcase for better coherence 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 Move notifications into customer app 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.