sstephenson/bats
View on GitHub ↗ ★ 7,097 Shell archived
Bash Automated Testing System
14 mentions on Hacker News by 13 people: 2 stories, 12 comments · first 2011-12-30 · latest 2021-03-02
20082026
-
See also https://github.com/sstephenson/bats
comment by atsaloli · 2021-03-02 · in Bash_unit – bash unit testing framework -
Looks like it was finally forked https://github.com/sstephenson/bats/issues/150
comment by alpb · 2020-03-23 · in Testing Dolt using BATS (Bash Automated Testing System) -
https://github.com/sstephenson/bats sstephenson/bats: Bash Automated Testing System - GitHub
comment by verdverm · 2019-10-20 · in Ask HN: Any suggestion on how to test CLI applications? -
…to the code standards of today then this should really be wrapped up in some kind of unit test ( https://github.com/sstephenson/bats )for it to pass the PR. That would make the code a bit more maintainable and can be integrated as a stage…
comment by thinkersilver · 2019-08-18 · in Maybe We Should Stop Creating Inscrutable CLIs -
…to the code standards of today then this should really be wrapped up in some kind of unit test ( https://github.com/sstephenson/bats )for it to pass the PR. That would make the code a bit more maintainable and can be integrated as a stage…
comment by thinkersilver · 2019-08-17 · in A Deep Dive into AMD’s Rome Epyc Architecture -
…but for post-deployment, you might want to check out Bash Automated Testing System (BATS) [0]. [0] https://github.com/sstephenson/bats
comment by chatmasta · 2019-02-13 · in Ask HN: How to check/enforce best practices on infrastructure? -
…interface, perhaps it would be useful to do some testing at that interface, perhaps using BATS: https://github.com/sstephenson/bats That is also automatically tested, but describes the actual user interface.
comment by twic · 2017-10-28 · in A README maturity model -
…http://www.oilshell.org/blog/2016/10/26.html [4] http://www.oilshell.org/blog/2016/11/06.html [5] https://github.com/sstephenson/bats [6] http://www.oilshell.org/blog/2017/02/05.html [7] http://www.oilshell.org/blog/2017/07/23.html
comment by chubot · 2017-08-12 · in Bashing the Bash – Replacing Shell Scripts with Python -
I've used bats[1] in the past. I also recommend the command line shellcheck[2] for linting. [1] https://github.com/sstephenson/bats [2] https://github.com/koalaman/shellcheck
comment by cakeface · 2016-01-13 · in Ansible 2.0 released -
BATS looks great, but it might not be maintained any more: https://github.com/sstephenson/bats/issues
comment by voltagex_ · 2015-12-15 · in Defensive BASH programming -
…(just in case they contain a space). I've been enjoying BATS [0] for my bash testing. [1] https://github.com/sstephenson/bats
comment by falsedan · 2015-12-15 · in Defensive BASH programming -
…seem to go over well, maybe due to "worse is better" dynamics. BTW, re: testing shell scripts: https://github.com/sstephenson/bats
comment by mbrock · 2015-08-28 · in GitHub: Scaling on Ruby, with a nomadic tech team