mirror of
https://github.com/sstephenson/bats.git
synced 2026-02-26 01:38:11 +01:00
Suite support for aggregating multiple tests under a single run
This commit is contained in:
@@ -56,4 +56,9 @@ else
|
||||
shift
|
||||
fi
|
||||
|
||||
exec bats-exec-test $count_only "$(expand_path "$filename")" "$@"
|
||||
if [ -d "$filename" ]; then
|
||||
shopt -s nullglob
|
||||
exec bats-exec-suite $count_only "$(expand_path "$filename")"/*.bats
|
||||
else
|
||||
exec bats-exec-test $count_only "$(expand_path "$filename")" "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user