I&#x27;ve used bats[1] in the past. I also recommend the command line shellcheck[2] for linting.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;sstephenson&#x2F;bats" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sstephenson&#x2F;bats</a>
[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;koalaman&#x2F;shellcheck" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;koalaman&#x2F;shellcheck</a>