News for hackers. Stuff that matters.
Re:I got tired of PHP and Perl, so I tried bash by thundergolfer on Saturday April 13, 2019 @01:48AM (#19651309)
Haven't tried BATS before, but it sounds like the missing part of our bash codebase, which I am currently mostly skeptical of because it isn't unit tested.

I'd fear though that having BATS would just increase the tendency to let a bash script grow from 50 lines through to 200, when it should've just been ported to Python at 100.

Re:I got tired of PHP and Perl, so I tried bash by mstade on Saturday April 13, 2019 @04:24AM (#19651750)
Actually, my experience with bats is that it forces you to modularize and keep things small. Easier to test things that way. Bats is truly an indispensable tool when doing shell scripting – I even use it to test CLIs built in other languages too!