navi/test/run
2019-09-25 11:44:57 -03:00

13 lines
251 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
export SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
source "${SCRIPT_DIR}/test/core.sh"
tests="$(find "$SCRIPT_DIR/test" -iname "${1:-}*_test.sh")"
for test in $tests; do
source "$test"
done
test::finish