Change-Id: Ib3a886da8a6f181fc04f4b6b4a42230deac79d4d
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
To run the unit tests do:
* `cd ~/vim-emu`
-* `sudo py.test -v src/emuvim/test/unittests`
-(To force Python2: `python2 -m pytest -v src/emuvim/test/unittests`)
+* `sudo pytest -v`
+* (To force Python2: `sudo python2 -m pytest -v`)
## Seed code contributors:
# debugging
echo "Tests executed inside: $(hostname)"
echo "Tests executed by user: $(whoami)"
-# trigger the tests
cd /son-emu/
-py.test -v src/emuvim/test/unittests
# trigger pep8 style check
echo "Doing flake8 style check ..."
flake8 --exclude=.eggs,devops --ignore=E501 .
echo "done."
+# trigger the tests
+echo "Running unit tests ..."
+pytest -v
+echo "done."
--- /dev/null
+[pytest]
+addopts = --ignore devops
+log_level = DEBUG