I’ve been dabbling with testing some chef cookbooks and have a few questions regarding best practices.
Question 1:
For testing cookbooks, I notice many people use test-kitchen. Fortunately I have a lab CHEF server to play with and VMs that I can test bootstrapping with in a cloud environment (i.e. AWS). Is there any benefits to using test-kitchen when I can simply bootstrap to a node/VM and see if the recipe worked? Why should I use test kitchen?
Question 2:
I’ve been using berks to download dependencies and upload cookbooks to the CHEF server. Is this common practice? Is there another way to do it? I don’t have an issue using berks, but I’m wondering if it’s an industry standard or are there other preferred ways of downloading/uploading dependencies to the CHEF server.
Thanks,
Jon