chef-stackstorm icon indicating copy to clipboard operation
chef-stackstorm copied to clipboard

Code Coverage

Open arm4b opened this issue 8 years ago • 2 comments

Code Coverage is essential quality metric. Research what's possible to do with ChefSpec to show the coverage % badge.

  • https://sethvargo.com/chef-recipe-code-coverage/
  • https://github.com/StackStorm/chef-stackstorm/blob/41270c71704b31ef3cb60ea5b5e893f14f5fe920/spec/spec_helper.rb#L5
  • https://github.com/sethvargo/chefspec#reporting
  • https://coveralls.zendesk.com/hc/en-us/articles/201769485-Ruby-Rails and
  • https://github.com/poise/poise-spec/blob/master/spec/spec_helper.rb
  • https://github.com/mburns/paramount/blob/master/test/unit/spec/spec_helper.rb

arm4b avatar Nov 11 '16 12:11 arm4b

What about CodeClimate?

jvrplmlmn avatar Nov 25 '16 17:11 jvrplmlmn

I think that only works on ruby classes but you can try it

shortdudey123 avatar Nov 26 '16 06:11 shortdudey123