btm / minitest-handler-cookbook

Apache License 2.0
59 stars 36 forks source link

FEATURE: Disable flag #70

Closed MrMMorris closed 9 years ago

MrMMorris commented 9 years ago

would it be possible to add a simple node['minitest']['disabled'] attribute for when I don't want tests to be run?

Thanks!

dpetzel commented 9 years ago

Why wouldn't you simply keep minitest-handler out of your run_list? Without some context it feels "off" to add a flag to prevent testing to a handler which has the sole purpose of running tests.

MrMMorris commented 9 years ago

yea that makes sense. My use case is probably pretty obscure anyways (packer AMI builds)