Add Simplecov for coverage

Not very impressive at the moment because Shindo is not wired up but it
all helps.
This commit is contained in:
Paul Thornthwaite 2015-03-15 00:50:34 +00:00
parent 706f873c53
commit 3232f47949
2 changed files with 9 additions and 0 deletions

View File

@ -80,6 +80,7 @@ Gem::Specification.new do |s|
s.add_development_dependency("rbvmomi")
s.add_development_dependency("rubocop") if RUBY_VERSION > "1.9"
s.add_development_dependency("shindo", "~> 0.3.4")
s.add_development_dependency("simplecov")
s.add_development_dependency("thor")
s.add_development_dependency("yard")

View File

@ -1,3 +1,11 @@
if ENV["COVERAGE"]
require "simplecov"
SimpleCov.start do
add_filter "/spec/"
end
end
require "minitest/autorun"
require "minitest/spec"
require "minitest/stub_const"