Vdsm Nose Tests
How to run vdsm Nose Tests:
-
First you must have a vdsm git repository: git clone “https://gerrit.ovirt.org/vdsm”
- Install python-nose
- To perform static tests (pyflakes and pep8) use: ‘make check-local’
-
To run all of the tests use: make check
- Please notice that ‘make rpm’ also runs all of the tests automatically.
- To run a specific test use: ‘
../tests/run_tests.sh _____Tests.py
’ in the directoryvdsm/vdsm
- We strongly prefer you don’t use the following option, but if you must it is possible to exclude some of the tests using: ‘NOSE_EXCLUDE=’(here you create your rule)’