django-embed-video/docs/development/testing.rst
2014-02-21 20:55:16 +01:00

38 lines
486 B
ReStructuredText

Testing
=======
Requirements
------------
The library needs ``Django`` and ``requests`` and ``nose``, ``mock`` and
``south`` libraries to run tests.
::
pip install Django
pip install requests
pip install nose
pip install mock
pip install south
Running tests
-------------
Run tests with this command:
::
nosetests
Be sure to run it before each commit and fix broken tests.
Run tests with coverage:
::
nosetests --with-coverage --cover-package=embed_video