Improve the reliability of shell scripts
The shell scripting language is a difficult, idiosyncratic and occasionally obscure language, but if we use it, there is no reasons to drop the methdologies and wisdoms software developers learnt over half a century of software development. We therefore cannot afford to overlook automated testing for our shell scripts and our shell functions, so that we confidently can use them, update them, and reason about them. Let us examine together how we can start automated testing of shell scripts with just a small effort.
Continue reading