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
No known key found for this signature in database
GPG Key ID: 789A4AE983AC8901
1 changed files with 8 additions and 0 deletions

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