Hacker GitHub

← All repos

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

Mentions per year 14 mentions · busiest year 2019 (5)
20082026
  1. See also https://github.com/sstephenson/bats
    comment by atsaloli · 2021-03-02 · in Bash_unit – bash unit testing framework
  2. Looks like it was finally forked https://github.com/sstephenson/bats/issues/150
  3. https://github.com/sstephenson/bats sstephenson/bats: Bash Automated Testing System - GitHub
  4. ▲ 3
    Ask HN: Any suggestion on how to test CLI applications?
    story by pdappollonio · 2019-10-20 · 3 comments
  5. …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
  6. …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
  7. …but for post-deployment, you might want to check out Bash Automated Testing System (BATS) [0]. [0] https://github.com/sstephenson/bats
  8. …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
  9. …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
  10. 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
  11. 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
  12. …(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
  13. …seem to go over well, maybe due to "worse is better" dynamics. BTW, re: testing shell scripts: https://github.com/sstephenson/bats
  14. ▲ 41
    Bats: TAP-compatible testing for Bash
    story by sstephenson · 2011-12-30 · 13 comments