navi/test/run
2019-10-11 14:33:16 -03:00

14 lines
248 B
Bash
Executable File

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