Re:Bash_unit – bash unit testing framework
by sethammons on Tuesday March 02, 2021 @07:54AM
(#26314772)
I agree that you should go to a more robust language when shell scripts get bigger, esp if you are needing or wanting unit tests. I would avoid Python if there are lots of dropping into the subprocess module; it suffers the same problem as Go - lots of ceremony and boiler plate to run shell commands. I recommend Ruby or Perl because they can drop into a shell-like mode and you can execute shell commands more “naturally.”
[ Parent
| on HN ]
Re:Bash_unit – bash unit testing framework
by louwrentius on Tuesday March 02, 2021 @11:34AM
(#26317088)
Ar this point anything else seems better that shell scripting. Sure not brainf@ck or COBOL, but I think the point is clear.