News for hackers. Stuff that matters.
Re:Bash_unit – bash unit testing framework by atsaloli on Tuesday March 02, 2021 @06:34AM (#26314174)
Re:Bash_unit – bash unit testing framework by ice3 on Tuesday March 02, 2021 @07:08AM (#26314428)
I'd recommend checking out this fork instead: https://github.com/bats-core/bats-core
Re:Bash_unit – bash unit testing framework by atsaloli on Wednesday March 03, 2021 @11:07PM (#26338475)
Nice! Glad to know development is continuing. Thanks!
Re:Bash_unit – bash unit testing framework by williamdclt on Tuesday March 02, 2021 @07:17AM (#26314492)
I used bats a while ago to test a homemade CLI to open github pull-requests, it worked well enough for me (https://github.com/williamdclt/git-pretty-pull-request if you're looking for an example, although I did not maintain the tests out of laziness so they are very red).

Cannot compare it to bash_unit, but I'm happy there's alternatives!

Re:Bash_unit – bash unit testing framework by dnautics on Tuesday March 02, 2021 @12:05PM (#26317489)
Yeah i think most people looking for this don't necessarily care about the distinction between unit/integration (i myself don't really know anymore because so many of my elixir "exunit" tests hit the db -- it's fine) they just want something TAP compliant and maybe also offers green dots.