bats icon indicating copy to clipboard operation
bats copied to clipboard

Bash Automated Testing System

Results 101 bats issues
Sort by recently updated
recently updated
newest added

Hi, I was stuck in this issue few days. Seems **nohup** command in following test code would cause bats-format-tap-stream hang and never exit except Ctrl+C to interrupt. Anyone know how...

Fix for issue #203 - bats interpreter always shows usage. I edited the bats script to supply the arguments to the 'bats' script in the 'libexec'.

Here's the test code ``` setup () { true } @test "test" { ( false; ) } ``` And here's the somewhat confusing output: ``` % bats bug.bats ✗ test...

The current TAP output of BATS is incorrect TAP format for skipped tests. e.g. bats -t fixtures/bats/skipped.bats 1..2 ok 1 # skip a skipped test ok 2 # skip (a...

This currently calls a script `test-with-all-bashes.sh` which tests using bash 3.1, 3.2 and 4.0 through 4.4, once with the initial release and again using the latest patchset for each version....

Is there any way to set `-o pipefail` in a test function, test file or helper function? The test below should fail, but I can't find a way to do...

To avoid problems from globbing, now lines splitting is done via `readarray` bash builtin.

Save the following test in a file named `bug.bats` @test "stars are bad" { run echo '*' [ "${lines[0]}" == "bug.bats" ] [ "$output" == "*" ] } and run...

Sometimes you're using scripts with extensions other than .bash. If you explicitly say `load file.extension` without this patch, it will try to load `file.extension.bash` and error if it does not...

This PR contains three commits which together are intended to support log to a a specified file and filtering tests based on regex pattern given by user. commit 734a049e0b9662805273addcaa187e4ea98a4718 ```...