From 749ea963d46d9adf6fab9a8a75b323285e943944 Mon Sep 17 00:00:00 2001 From: Tom Vaughan Date: Tue, 4 Sep 2012 10:47:53 -0700 Subject: [PATCH] add a simple coverage report --- .gitignore | 1 + Gemfile | 1 + features/support/env.rb | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b844b14..3043f50 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Gemfile.lock +coverage diff --git a/Gemfile b/Gemfile index cecbdf5..a7d712a 100644 --- a/Gemfile +++ b/Gemfile @@ -14,4 +14,5 @@ group :test do gem "fivemat" gem "aruba", "~> 0.4.11" gem "rspec", "~> 2.7" + gem "simplecov" end diff --git a/features/support/env.rb b/features/support/env.rb index 089772c..3352ebf 100644 --- a/features/support/env.rb +++ b/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') \ No newline at end of file +require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-deploy')