I presume that you are familiar with: Chef test-kitchen serverspec When you write serverspec integration tests, it would be great to have access to chef attributes of cookbook that you’re testing. There’s a fast and simple way to do this. Introduction