tests: add functional tests for buildpacks plugin

This commit is contained in:
Jose Diaz-Gonzalez
2019-01-22 00:22:35 -05:00
parent 6cae92e1f1
commit d3d426a8d9
5 changed files with 221 additions and 3 deletions

View File

@@ -82,6 +82,12 @@ assert_output_exists() {
[[ -n "$output" ]] || flunk "expected output, found none"
}
# ShellCheck doesn't know about $output from Bats
# shellcheck disable=SC2154
assert_output_not_exists() {
[[ -z "$output" ]] || flunk "expected no output, found some"
}
# ShellCheck doesn't know about $output from Bats
# shellcheck disable=SC2154
assert_output_contains() {