An open API service indexing awesome lists of open source software.

https://github.com/vit0r/bash-bats

BATS (Bash Automated Testing System)
https://github.com/vit0r/bash-bats

batscript

Last synced: 10 months ago
JSON representation

BATS (Bash Automated Testing System)

Awesome Lists containing this project

README

          

# bash-bats
BATS (Bash Automated Testing System)

# debug:

bash -x init.sh

+ [[ '' -eq 1 ]]
+ echo N
N
+ exit 1

# executing test with bats:

# apt install bats
# sudo chmod +x init.sh
# sudo chmod +x init_test.bats

./init_test.bats
✓ A test should be show N
✓ A test should be show Y

2 tests, 0 failures