Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Sebastian Vetter e9c0f1c0bc Add delete functionality for products 13 anos atrás
..
_site Rename test site folder for consistency 13 anos atrás
functional Add delete functionality for products 13 anos atrás
integration Add a status field to offers 13 anos atrás
unit Re-order steps in offer dashboard wizard 13 anos atrás
README.rst Split offer tests into unit/integration folders 13 anos atrás
__init__.py Reworked the way tests are run to not require the examples files. 14 anos atrás
config.py Rename test site folder for consistency 13 anos atrás

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.