Commit 6c9cb5de by Adam Morris

Update test_strategies.rst

Changed unit tests to unit test for the singular playbook...
parent 30ac368d
...@@ -240,7 +240,7 @@ as part of a Continous Integration/Continous Delivery pipeline, as is covered in ...@@ -240,7 +240,7 @@ as part of a Continous Integration/Continous Delivery pipeline, as is covered in
The focus should not be on infrastructure testing, but on application testing, so we strongly encourage getting together with your The focus should not be on infrastructure testing, but on application testing, so we strongly encourage getting together with your
QA team and ask what sort of tests would make sense to run every time you deploy development VMs, and which sort of tests they would like QA team and ask what sort of tests would make sense to run every time you deploy development VMs, and which sort of tests they would like
to run against the stage environment on every deploy. Obviously at the development stage, unit tests are great too. But don't unit to run against the stage environment on every deploy. Obviously at the development stage, unit tests are great too. But don't unit
tests your playbook. Ansible describes states of resources declaratively, so you don't have to. If there are cases where you want test your playbook. Ansible describes states of resources declaratively, so you don't have to. If there are cases where you want
to be sure of something though, that's great, and things like stat/assert are great go-to modules for that purpose. to be sure of something though, that's great, and things like stat/assert are great go-to modules for that purpose.
In all, testing is a very organizational and site-specific thing. Everybody should be doing it, but what makes the most sense for your In all, testing is a very organizational and site-specific thing. Everybody should be doing it, but what makes the most sense for your
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment