Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
unittest [2014/01/02 09:15]
Stefan [Running test on local system]
unittest [2016/01/13 14:14] (current)
Line 14: Line 14:
  
 ===== Running tests on local system ===== ===== Running tests on local system =====
-To run the unittest on a local system, the python packages [[https://​pypi.python.org/​pypi/​nose|nose]] ​and [[https://​pypi.python.org/​pypi/​coverage|coverage]] have to be installed.+To run the unittest on a local system, the python packages [[https://​pypi.python.org/​pypi/​nose|nose]][[https://​pypi.python.org/​pypi/​coverage|coverage]] and [[https://​pypi.python.org/​pypi/​nosehtmloutput|nosehtmloutput]] have to be installed.
 To run the tests, change into the root folder of the pSysmon source distribution (the folder which holds the setup.py file) and run ''​nosetests''​ with one of the provided configuration files: ''​.nosetests_core.cfg''​ and ''​nosetests_packages.cfg''​. The html reports will be placed in the directory ''​test_results/​core''​ and ''​test_results/​packages''​. You have to make shure that these directories exist before running the nosetests commands. To run the tests, change into the root folder of the pSysmon source distribution (the folder which holds the setup.py file) and run ''​nosetests''​ with one of the provided configuration files: ''​.nosetests_core.cfg''​ and ''​nosetests_packages.cfg''​. The html reports will be placed in the directory ''​test_results/​core''​ and ''​test_results/​packages''​. You have to make shure that these directories exist before running the nosetests commands.