I saw most of the community cookbooks have tests. As I read some articles those tests can be, simply put, described as unit tests (does the cookbook does what it says?) and integration tests (does it work on the OS?).
I setup a LAMP virtual environment using Vagrant and Chef community cookbooks. Now I would like to test it.
First I thought I am gonna run all the community's integration tests using Kitchen CI on my provisioned system. I thought that's one of the reasons the creators write those integration tests, so admins can put all the tests together and test their system. However after a small research I found out the ways the cookbooks are tested differ, so it doesn't seem easy to simply run all of them at once on my system.
Does that mean I should write tests on my own? For example using Kitchen CI and serverspec. I guess they doesn't need to be very fancy, because the community cookbooks are tested, but I still feel it would be a good idea to check if services are running and configuration files present.
What is the common workflow? Write a few tests on your own? Or just "believe" in the community cookbooks? Or there is a way to run the community's tests all together after the OS is provisioned?