Add Simplecov

This commit is contained in:
Ben Hollis 2013-05-28 22:11:57 -07:00
parent f611a7185b
commit 994bd651f8
4 changed files with 10 additions and 0 deletions

6
.simplecov Normal file
View file

@ -0,0 +1,6 @@
SimpleCov.start do
add_filter '/features/'
add_filter '/spec/'
add_filter '/vendor'
add_filter '/step_definitions/'
end

View file

@ -9,6 +9,7 @@ gem "cucumber", "~> 1.3.1"
gem "fivemat"
gem "aruba", "~> 0.5.1"
gem "rspec", "~> 2.12"
gem "simplecov"
# Optional middleman dependencies, included for tests
gem "haml", "~> 4.0.0", :require => false # Make sure to use Haml 4 for tests

View file

@ -1,3 +1,5 @@
require 'simplecov'
ENV["TEST"] = "true"
ENV["AUTOLOAD_SPROCKETS"] = "false"

View file

@ -0,0 +1 @@
require 'simplecov'