Add full rspec strategy
This commit is contained in:
parent
f3cb1bda68
commit
707163f263
2 changed files with 8 additions and 1 deletions
|
@ -90,6 +90,7 @@ module Mutant
|
|||
'--require' => [:require_library ],
|
||||
#'--killer-fork' => [:enable_killer_fork ],
|
||||
'--rspec-unit' => [:set_strategy, Strategy::Rspec::Unit ],
|
||||
'--rspec-full' => [:set_strategy, Strategy::Rspec::Full ],
|
||||
'--rspec-dm2' => [:set_strategy, Strategy::Rspec::DM2 ]
|
||||
}.deep_freeze
|
||||
|
||||
|
|
|
@ -37,7 +37,13 @@ module Mutant
|
|||
|
||||
class Unit < self
|
||||
def self.filename_pattern(mutation)
|
||||
'spec/unit/**/*.rb'
|
||||
'spec/unit/**/*_spec.rb'
|
||||
end
|
||||
end
|
||||
|
||||
class Full < self
|
||||
def self.filename_pattern(mutation)
|
||||
'spec/**/*_spec.rb'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue