My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How do you test-drive your deployment automation?

Matthew Dailey's photo
Matthew Dailey
·Sep 14, 2015

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?