From fe2f3ebe8001a3b1adf3f3ce35ada636d419f754 Mon Sep 17 00:00:00 2001 From: Edward Loveall Date: Sun, 4 Jul 2021 16:03:25 -0400 Subject: [PATCH] Add test script This makes it much easier to randomize the spec order --- script/test | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 script/test diff --git a/script/test b/script/test new file mode 100755 index 0000000..4081a39 --- /dev/null +++ b/script/test @@ -0,0 +1,8 @@ +#!/bin/sh + +# Exit if any subcommand fails +set -e +set -o pipefail + +echo "crystal spec --order random $@" +crystal spec --order random $@