I\'m using chef-solo to test my cookbooks locally, but I want to be able to only run the cookbook(s) that I\'m testing. Currently, it seems like chef-solo will run all cookbooks
You need to create a JSON file. There you can specify what exactly cookbook should run:
{ "run_list": [ "recipe[hello-chef]" ] }
Very well explained in this step-by-step tutorial: http://codeflex.co/creating-and-running-your-first-chef-cookbook/