Autotest is a simple tool that automatically links tests with the files being tested, and runs tests automatically when either the test or code has changed.
Once you have
autotest installed, change to the root of your Puppet
git repository and run
autotest with no arguments. To refresh the list
of files to scan, hit
^c (that is, control-c).
It's recommended you leave this running in another terminal during all development, preferably on another monitor.