How do you test-drive your deployment automation?
I'm writing a backup & restore pipeline for two services I own. This involves a number of bash scripts. My current plan is to use github.com/sstephenson/bats for unit testing but I'm still figuring out the right way to inject dependencies into backup.sh
and restore.sh
.
Does anyone have tips for testing deployment automation?