Add Simplecov
This commit is contained in:
parent
f611a7185b
commit
994bd651f8
6
.simplecov
Normal file
6
.simplecov
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
SimpleCov.start do
|
||||||
|
add_filter '/features/'
|
||||||
|
add_filter '/spec/'
|
||||||
|
add_filter '/vendor'
|
||||||
|
add_filter '/step_definitions/'
|
||||||
|
end
|
1
Gemfile
1
Gemfile
|
@ -9,6 +9,7 @@ gem "cucumber", "~> 1.3.1"
|
||||||
gem "fivemat"
|
gem "fivemat"
|
||||||
gem "aruba", "~> 0.5.1"
|
gem "aruba", "~> 0.5.1"
|
||||||
gem "rspec", "~> 2.12"
|
gem "rspec", "~> 2.12"
|
||||||
|
gem "simplecov"
|
||||||
|
|
||||||
# Optional middleman dependencies, included for tests
|
# Optional middleman dependencies, included for tests
|
||||||
gem "haml", "~> 4.0.0", :require => false # Make sure to use Haml 4 for tests
|
gem "haml", "~> 4.0.0", :require => false # Make sure to use Haml 4 for tests
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
require 'simplecov'
|
||||||
|
|
||||||
ENV["TEST"] = "true"
|
ENV["TEST"] = "true"
|
||||||
ENV["AUTOLOAD_SPROCKETS"] = "false"
|
ENV["AUTOLOAD_SPROCKETS"] = "false"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
require 'simplecov'
|
Loading…
Reference in a new issue