setup_file() { echo "$BATS_TEST_FILENAME" >>"$LOG" } @test "Test 1" { true } @test "Test 2" { true }