hello_world_test.sh (124B)
1 #!/usr/bin/env bash 2 3 @test "Say Hi!" { 4 run bash hello_world.sh 5 6 [ "$status" -eq 0 ] 7 [ "$output" = "Hello, World!" ] 8 }