Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
David Winterbottom f80cb5e9fa Fix warning from bytestrings being slugified před 13 roky
..
_site Rename test site folder for consistency před 13 roky
functional Fix warning from bytestrings being slugified před 13 roky
integration Convert non-ASCII char to ASCII for category slugs před 13 roky
unit Fix warning from bytestrings being slugified před 13 roky
README.rst Split offer tests into unit/integration folders před 13 roky
__init__.py Reworked the way tests are run to not require the examples files. před 14 roky
config.py Replace STATIC_URL with static template tag před 13 roky

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.