How to write good bash code using TDD

How to write good bash code using TDD

1. Understand the bash pitfalls
2. Use shellcheck
3. Emphasise on functional code
4. Discover the simplest concepts
5. Explore their optimal composition
6. Use containers for integration testing
7. Stop when the fun stops

https://github.com/gerhard/bash is meant to capture the mechanics and reasoning behind test-driven bash code. It also conveys the process behind evolving a good bash codebase.

6e1b896f6c4807aa4223acc428c57760?s=128

Gerhard Lazu

March 17, 2016
Tweet