Various snippets that I end-up needing as one offs to validate some functionality, or lack thereof in BATS.
#!/usr/bin/env bats
# run with /path/to/bats -t /path/to/test-string-empty.bats
@test "test empty string" {
run "echo"
[ -z "$output" ]
}
@test "test non-empty string" {
run "echo this is a test string!"
[ -z "$output" ]
}