#!/usr/bin/env bash set -e export BATS_VERSION='1.6.0' VALID_FORMATTERS="pretty, junit, tap, tap13" version() { printf 'Bats %s\n' "$BATS_VERSION" } abort() { printf 'Error: %s\n' "$1" >&2 usage >&2 exit 1 } usage() { local cmd="${0##*/}" local line cat < ${cmd} [-h | -v] HELP_TEXT_HEADER cat <<'HELP_TEXT_BODY' is the path to a Bats test file, or the path to a directory containing Bats test files (ending with ".bats") -c, --count Count test cases without running any tests --code-quote-style