Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

script for testing all solution steps

  • Loading branch information...
commit d0a300aeed161165a4f799ae75c00377ee9ca910 1 parent cf150c9
@vojtajina vojtajina authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 scripts/test-all-solutions.sh
View
13 scripts/test-all-solutions.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+# Go through all the solution steps and run all the tests
+
+
+BASE_DIR=`dirname $0`
+
+for sha in `git log --oneline --reverse | grep "step-.*solution" | cut -d ' ' -f 1`; do
+ git checkout $sha -q
+ git log --oneline -1
+ $BASE_DIR/../node_modules/testacular/bin/testacular start $BASE_DIR/../config/testacular.conf.js --single-run --log-level error
+ $BASE_DIR/../node_modules/testacular/bin/testacular start $BASE_DIR/../config/testacular-e2e.conf.js --single-run --log-level error
+ echo ""
+done
Please sign in to comment.
Something went wrong with that request. Please try again.