Auto-tools/Projects/Mozregression: Difference between revisions

running unit tests
(running unit tests)
Line 29: Line 29:


(Windows instructions should be pretty similar, the only difference should be the activation step)
(Windows instructions should be pretty similar, the only difference should be the activation step)
To run unit tests:
  pip install mock # not stricly required, but recommended to keep a clean dir
  python setup.py test
You could also use the coverage module to view the lines covered by tests:
  pip install coverage mock
  coverage run setup.py test
  coverage html # generate html results
  firefox htmlcov/index.html # see them in your favorite browser


== Issue / feature tracking ==
== Issue / feature tracking ==
7

edits