This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add 'firefox' test script option when we just need to test that basic…

…s are working without doing all of core
  • Loading branch information...
semperos committed Nov 5, 2012
1 parent 27ca679 commit 583f6f65930225b1837ce33a59bb10aeaaa3be70
Showing with 13 additions and 1 deletion.
  1. +13 −1 script/test
View
@@ -10,7 +10,7 @@ EXPECTED_ARGS=1
E_BADARGS=65
DO_showUsage() {
- echo "Usage: $(basename $0) {all|core|remote|taxi|window}"
+ echo "Usage: $(basename $0) {all|core|firefox|remote|taxi|window}"
exit $E_BADARGS
}
@@ -24,6 +24,15 @@ GRID_HOST_DEFAULT=127.0.0.1
# API default is 4444, so for testing we'll use 3333
GRID_PORT_DEFAULT=3333
+DO_testFirefox() {
+ echo ""
+ echo "#####################"
+ echo "## Testing Firefox ##"
+ echo "#####################"
+ echo ""
+ lein test clj-webdriver.test.firefox
+}
+
DO_testCore() {
echo ""
echo "##################"
@@ -90,6 +99,9 @@ case "$1" in
core)
DO_testCore
;;
+ firefox)
+ DO_testFirefox
+ ;;
remote)
DO_testRemote
;;

0 comments on commit 583f6f6

Please sign in to comment.