Custom formatter.

This commit is contained in:
Parker Moore
2014-08-12 18:06:47 -04:00
parent 56b9238af5
commit 141ce32382
3 changed files with 197 additions and 8 deletions

View File

@@ -2,5 +2,15 @@
set -e
parallelize_tests() {
ls -1 script/{test,cucumber,proof} | xargs -P 3 -L 1 /bin/bash
}
serialize_tests() {
script/proof
script/test
script/cucumber
}
script/branding
ls -1 script/{test,cucumber,proof} | xargs -P 3 -L 1 /bin/bash
time parallelize_tests

View File

@@ -1,9 +1,5 @@
#!/bin/bash
if test -z "$TRAVIS"; then
PROFILE="--format pretty"
else
PROFILE="--format progress"
fi
bundle exec cucumber $PROFILE "$@"
time bundle exec cucumber \
-f Features::Support::Overview \
"$@"