1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

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"