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)
- Host: GitHub
- URL: https://github.com/vit0r/bash-bats
- Owner: vit0r
- License: gpl-3.0
- Created: 2018-06-29T03:51:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T13:32:16.000Z (over 7 years ago)
- Last Synced: 2025-01-14T10:35:01.808Z (12 months ago)
- Topics: batscript
- Language: Shell
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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