We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

6

In short, I see two categories of tests for your infrastructure: 1) does it have everything you need to run your application and 2) does it not have any superfluous stuff. First and foremost, you can treat the test suite of your actual software as a kind of "meta test" for your infrastructure. As long as you create the infrastructure from scratch for each ...


1

In my experience one of the main differences between Dev and Ops are "heavy run time dependencies". Installing packages heavily depends on repositories, networks or valid keys, or lets say instantiating a new cloud server - it depends on your provider resources. In terms of server-provisioning even if you did not change your provision code, your image will ...


1

It looks like everybody here assumes an IAC tool always run as expected, but I can tell (from my own experience) this is not always the case, otherwise unit test would actually be useless. I remember a picture saying "Ansible playbook ran, everything is fine" with a building burning in the background ... Running a declarative state and having the server in ...


1

IMHO it's rather redundant to write TDD tests for items entirely covered by the IaaC state specification. Doing so implies that the effectiveness of the IaaC is questionable - why would you use it if so? Looking at it from a different prospective IaaC itself (if/when done properly) incorporates capabilities already tested and considered to be functioning ...


Only top voted, non community-wiki answers of a minimum length are eligible