Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Sebastian Vetter a73c5109dc Fix error in create product view when continue editing clicked 13 gadus atpakaļ
..
_site Rename test site folder for consistency 13 gadus atpakaļ
functional Fix error in create product view when continue editing clicked 13 gadus atpakaļ
integration Move catalogue tests to integration folder... 13 gadus atpakaļ
unit Add slug blacklist setting 13 gadus atpakaļ
README.rst Split offer tests into unit/integration folders 13 gadus atpakaļ
__init__.py Reworked the way tests are run to not require the examples files. 14 gadus atpakaļ
config.py Replace STATIC_URL with static template tag 13 gadus atpakaļ

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.