mirror of https://github.com/reiseburo/hermann
Add some code coverage while we're here
This commit is contained in:
parent
bc560f21ea
commit
246f27e76d
|
@ -14,3 +14,5 @@ Gemfile.lock
|
||||||
Jarfile.lock
|
Jarfile.lock
|
||||||
.jbundler/
|
.jbundler/
|
||||||
lib/hermann_jars.rb
|
lib/hermann_jars.rb
|
||||||
|
coverage/
|
||||||
|
spec/reports
|
||||||
|
|
5
Gemfile
5
Gemfile
|
@ -11,7 +11,6 @@ group :development do
|
||||||
gem 'jar-dependencies', :platform => :jruby
|
gem 'jar-dependencies', :platform => :jruby
|
||||||
gem 'rake-compiler'
|
gem 'rake-compiler'
|
||||||
gem 'pry'
|
gem 'pry'
|
||||||
gem 'ci_reporter_rspec'
|
|
||||||
|
|
||||||
# Used for testing `zk` gem based functionality
|
# Used for testing `zk` gem based functionality
|
||||||
gem 'zk', '~> 1.9.4'
|
gem 'zk', '~> 1.9.4'
|
||||||
|
@ -24,4 +23,8 @@ group :test do
|
||||||
# Used for testing encoding protobufs in an out of Hermann in integration
|
# Used for testing encoding protobufs in an out of Hermann in integration
|
||||||
# tests
|
# tests
|
||||||
gem 'protobuffy'
|
gem 'protobuffy'
|
||||||
|
|
||||||
|
gem 'ci_reporter_rspec'
|
||||||
|
gem 'simplecov'
|
||||||
|
gem 'simplecov-rcov'
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,6 +2,13 @@ require 'rubygems'
|
||||||
require 'yaml'
|
require 'yaml'
|
||||||
require 'rspec'
|
require 'rspec'
|
||||||
|
|
||||||
|
require 'simplecov'
|
||||||
|
require 'simplecov-rcov'
|
||||||
|
|
||||||
|
SimpleCov.start do
|
||||||
|
formatter = SimpleCov::Formatter::RcovFormatter
|
||||||
|
end
|
||||||
|
|
||||||
# Add ext/ to the load path so we can load `hermann_lib`
|
# Add ext/ to the load path so we can load `hermann_lib`
|
||||||
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../ext/'))
|
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../ext/'))
|
||||||
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib/'))
|
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib/'))
|
||||||
|
|
Loading…
Reference in New Issue