pip install -r requirements.txt
Unit tests attempt to check that everything is working properly. It is a good idea to run unit tests frequently, especially before making changes and after making changes but before committing them.
run nosetests (this runs the unit tests):
In python 2.7:
nosetests
In python 3.4:
python3 -m "nose"
Output should look like this:
.......S...............
----------------------------------------------------------------------
Ran 23 tests in 2.179s
OK (SKIP=1)
Each dot stands for a unit test that ran, "S" stands for "Skipped". If there are failures the output will be more extensive, describing which tests failed and how.
For debugging purposes it is sometimes useful to use print
statements and invoke
nosetests with the --nocapture
option in order to see the output.
nosetests --nocapture