aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1c0e9c9..1496ac9 100644
--- a/Makefile
+++ b/Makefile
@@ -85,3 +85,14 @@ test: chromeExtension profile-chrome profile-firefox ffExtension pkg-rsTester
cd $(HEADLESS_DIR) && $(MVN_TEST_CMD)
endif
+
+
+# JS Unit Tests ###############################################################
+
+PHANTOM_EXE := $(shell which phantomjs 2>/dev/null)
+ifneq "$PHANTOM_EXE" ""
+
+test-js:
+ cd $(topdir)/contexts/data && $(PHANTOM_EXE) lib/phantomjs_jasmine/phantomjs_jasminexml_runner.js tests/PhantomJSJasmineRunner.html tests/reports/
+
+endif