Testing Bash with BATS
Outside of the scope of elaborate CI pipelines, I wonder how useful this can really be.<p>Big CI pipelines are one of the few instances where I can think of Bash being both an appropriate choice AND the resulting product being large, elaborate, and sensitive to failure - which would benefit from being tested. Most other applications of Bash are generally just so simple that fundamentally altering how you write scripts (&quot;Bash scripts must also be broken down into multiple functions, which the main part of the script should call when the script is executed.&quot;) for the sake of testing them seems like it could easily fall into the category of over engineering.<p>Beyond the CI pipeline use case, wouldn&#x27;t the tools in which this would actually be properly useful be better off written in a proper programming language?