gva/docs/tests.rst
Jan Dittberner d82146987e update changelog, document test process
- fix headline in index.rst
- add release 0.1 in changelog and add two more features
- add tests.rst documenting how to run the test suite and how to check test
  coverage
2014-06-01 12:07:18 +02:00

27 lines
490 B
ReStructuredText

Tests
=====
To run the tests you can just use the :program:`manage.py` script:
.. code-block:: sh
$ python manage.py test
Coverage
--------
To capture test coverage information you can run:
.. code-block:: sh
$ coverage run --branch manage.py test
To view the coverage data use:
.. code-block:: sh
$ coverage report -m
The coverage configuration is in :file:`.coveragerc`. Add new apps to the
`source` configuration in the `[run]` section of that configuration file.