Chef: How to use Test Kitchen to simulate a reboot on a Linux system?
Test Kitchen contains a test harness, which enables to run infrastructure code on one or more platforms independently. Test Kitchen is used to test recipes across a variety of platforms and test suites, including restarting and resuming testing.