bats
bats copied to clipboard
Bash Automated Testing System
I would like to ask if you could publish bats on https://open-vsx.org/ for vscodium editor. Thanks in advance
Empty lines in `$output` are lost when the `$lines` array is set. That throws off the expected array index of any lines that follow. This patch preserves those empty lines....
Hey @stefanlasiewski . This is a super useful tool and I'm glad to see that it's being actively developed at https://github.com/bats-core/bats-core. After encountering some problems running tests on first using...
Hi, I'm extensively using the bats testing framework in [trousseau](https://github.com/oleiade/trousseau/tree/fix_tests_and_ci/tests). I have written a bunch of tests. Everything works fine on my laptop (OSX), and in vagrant boxes (Ubuntu 14.04),...
While not recommended [1] `CDPATH` might be exported and would be used for e.g. `cd test` instead of using `./test`. E.g. Vim will make use of it (and therefore it...
I have a command that returns exit status 1. I want to test this but I noticed that Bats expects exit status to be zero. Else it stops executions. This...
Hi everyone, My plate’s been full with other work for the past year or so, and I haven’t given Bats the attention it deserves. I’m sorry about that. I’m looking...
Ok this is WIP, tell me what you think. I don't currently have much time to finish this, but if you like it, I can find some :-)
Is it possible to show the code coverage when bats has been run?
OSType: MacOS Mojave version: 10.14.6 (18G5033) ------- $ bats --version Bats 1.2.0 --> latest version of bats $ cat add.bats --> test file details @test "addition using bc" { result="$(echo...