News for hackers. Stuff that matters.
Re:Bash_unit – bash unit testing framework by JackuB on Tuesday March 02, 2021 @08:20AM (#26314985)
If you fancy more BDD-style testing with a Gherkin-like syntax, there is also Shellspec https://shellspec.info / https://github.com/shellspec/shellspec
Re:Bash_unit – bash unit testing framework by ryanianian on Tuesday March 02, 2021 @12:14PM (#26317608)
Shellspec is delightful to use. Every time I go to test with it I end up finding bugs. But also every time I go to test with it I end up convincing myself to not use bash. I imagine the same would be true of bash_unit.