diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -54,6 +54,7 @@ linters_js: coverage: @. $(VIRTUALENV)/bin/activate;\ cd service;\ + export PYTHONPATH=$(PYTHONPATH):`pwd`;\ coverage run -p --source=pixelated `which trial` test.unit;\ coverage run -p --source=pixelated `which trial` test.integration;\ coverage combine;\ @@ -62,6 +63,7 @@ coverage: unit_tests_py: @. $(VIRTUALENV)/bin/activate;\ cd service;\ + export PYTHONPATH=$(PYTHONPATH):`pwd`;\ trial --reporter=text test.unit unit_tests_js: @@ -71,6 +73,7 @@ unit_tests_js: integration_tests_py: @. $(VIRTUALENV)/bin/activate;\ cd service;\ + export PYTHONPATH=$(PYTHONPATH):`pwd`;\ trial --reporter=text test.integration functional_tests: clean requirements install @@ -79,11 +82,23 @@ functional_tests: clean requirements install cd service;\ xvfb-run --server-args="-screen 0 1280x1024x24" behave --tags ~@wip --tags ~@smoke test/functional/features +smoke_tests: clean install + @. $(VIRTUALENV)/bin/activate;\ + export PATH=$(PATH):/usr/lib/chromium/;\ + cd service;\ + xvfb-run --server-args="-screen 0 1280x1024x24" behave --tags ~@wip --tags @smoke test/functional/features -k -D host=$(provider) + functional_tests_ci: clean requirements install @. $(VIRTUALENV)/bin/activate;\ cd service;\ behave --tags ~@wip --tags ~@smoke test/functional/features +functional_tests_wip: + @. $(VIRTUALENV)/bin/activate;\ + export PATH=$(PATH):/usr/lib/chromium/;\ + cd service;\ + xvfb-run --server-args="-screen 0 1280x1024x24" behave --tags @wip test/functional/features + ensure_virtualenv_installed: @if [ ! `which virtualenv` ]; then\ echo "Virtualenv must be installed";\ |