Closed calavera closed 12 years ago
A possible approach is to run only the tests that match their class name with the recipe name, see:
https://github.com/calavera/minitest-chef-handler/pull/7#r679266
That would work for test unit thought where the class name can be NginxConfigurationTest.
As part of this, I think we should load the test suite as late as possible, so we need to move these two lines and put them after creating the runner:
https://github.com/calavera/minitest-chef-handler/blob/master/lib/minitest-chef-handler.rb#L7-8
awesome! When is the gem containing this improvement going to be published?
you got it, I just pushed a new version, let me know if you find any issue.
Enjoy!
A possible approach is to run only the tests that match their class name with the recipe name, see:
https://github.com/calavera/minitest-chef-handler/pull/7#r679266
That would work for test unit thought where the class name can be NginxConfigurationTest.
As part of this, I think we should load the test suite as late as possible, so we need to move these two lines and put them after creating the runner:
https://github.com/calavera/minitest-chef-handler/blob/master/lib/minitest-chef-handler.rb#L7-8