Class: AktionTest::Module::Simplecov

Inherits:
Base
  • Object
show all
Defined in:
lib/aktion_test/module/simplecov.rb

Instance Method Summary collapse

Methods inherited from Base

#cleanup, #configure, #prepare

Constructor Details

#initialize(spec, options = {}) ⇒ Simplecov

Returns a new instance of Simplecov.



4
5
6
7
8
9
10
# File 'lib/aktion_test/module/simplecov.rb', line 4

def initialize(spec, options={})
  super
  require 'simplecov'
  ::SimpleCov.start do
    add_filter '/spec/'
  end
end