mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-03-17 05:40:24 +00:00
35 lines
448 B
ReStructuredText
35 lines
448 B
ReStructuredText
Testing
|
|
==============================================
|
|
|
|
Requirements
|
|
-------------
|
|
|
|
You need ``nose``, ``mock`` and ``south`` libraries to run tests.
|
|
|
|
::
|
|
|
|
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
|
|
|
|
|