Permalink
Browse files

add a simple coverage report

  • Loading branch information...
1 parent be45c22 commit 749ea963d46d9adf6fab9a8a75b323285e943944 Tom Vaughan committed Sep 4, 2012
Showing with 5 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −0 Gemfile
  3. +3 −1 features/support/env.rb
View
1 .gitignore
@@ -1 +1,2 @@
Gemfile.lock
+coverage
View
1 Gemfile
@@ -14,4 +14,5 @@ group :test do
gem "fivemat"
gem "aruba", "~> 0.4.11"
gem "rspec", "~> 2.7"
+ gem "simplecov"
end
View
4 features/support/env.rb
@@ -1,4 +1,6 @@
+require "simplecov"
+SimpleCov.start
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
require "middleman-core"
require "middleman-core/step_definitions"
-require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-deploy')
+require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-deploy')

0 comments on commit 749ea96

Please sign in to comment.