add a simple coverage report
This commit is contained in:
parent
be45c22d0d
commit
749ea963d4
3 changed files with 5 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
|
coverage
|
||||||
|
|
1
Gemfile
1
Gemfile
|
@ -14,4 +14,5 @@ group :test do
|
||||||
gem "fivemat"
|
gem "fivemat"
|
||||||
gem "aruba", "~> 0.4.11"
|
gem "aruba", "~> 0.4.11"
|
||||||
gem "rspec", "~> 2.7"
|
gem "rspec", "~> 2.7"
|
||||||
|
gem "simplecov"
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
require "simplecov"
|
||||||
|
SimpleCov.start
|
||||||
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
|
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
|
||||||
require "middleman-core"
|
require "middleman-core"
|
||||||
require "middleman-core/step_definitions"
|
require "middleman-core/step_definitions"
|
||||||
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-deploy')
|
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-deploy')
|
||||||
|
|
Loading…
Reference in a new issue