diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 15:39:59 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 15:39:59 +0100 |
commit | c10efd3d204e4b5e14db58a8423c7a00725519e2 (patch) | |
tree | 3129b87c48b3fe8dd3c9fe1c2b4ed77a5c195913 /spec/spec_helper.rb | |
parent | a59f33f9b69e8363944eaac0e99913993a9ab9b0 (diff) | |
download | zorglub-c10efd3d204e4b5e14db58a8423c7a00725519e2.zip zorglub-c10efd3d204e4b5e14db58a8423c7a00725519e2.tar.gz |
add simplecov code coverage
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8a4f174..617a4ab 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,13 @@ #! /usr/bin/env ruby # +begin + require 'simplecov' + SimpleCov.start do + add_filter 'spec' + end +rescue LoadError +end +# require 'zorglub' # ENGINE_PROC = Proc.new { |path,obj| "path=>#{path} : obj=>#{obj}" } |