Add test script

This makes it much easier to randomize the spec order
This commit is contained in:
Edward Loveall
2021-07-04 16:03:25 -04:00
parent 57f26996b2
commit fe2f3ebe80

8
script/test Executable file
View File

@@ -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 $@