#!/usr/bin/env bashset-e
cd"$(dirname"$(readlink-f"$BASH_SOURCE")")"# Load the helpers.
.helpers.bash
functionexecute(){>&2echo"++ $@"eval"$@"}# Tests to run. Defaults to all.if[[-z"${TESTS}"]];thenTESTS=${@:-.}elseTESTS=$TESTSfi# Run the tests.
executetimebats--tap$TESTS