Class: AktionTest::Module::Simplecov
- Defined in:
- lib/aktion_test/module/simplecov.rb
Instance Method Summary collapse
-
#initialize(spec, options = {}) ⇒ Simplecov
constructor
A new instance of Simplecov.
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, ={}) super require 'simplecov' ::SimpleCov.start do add_filter '/spec/' end end |