lib/mutant/cli.rb in mutant-0.7.9 vs lib/mutant/cli.rb in mutant-0.8.0
- old
+ new
@@ -147,14 +147,11 @@
'--expected-coverage COVERAGE',
'Fail unless COVERAGE is not reached exactly, parsed via Rational()'
) do |coverage|
update(expected_coverage: Rational(coverage))
end
- opts.on('--score COVERAGE', 'Fail unless COVERAGE is not reached exactly [deprecated]') do |coverage|
- update(expected_coverage: Rational(coverage, 100))
- end
- opts.on('--use STRATEGY', 'Use STRATEGY for killing mutations', &method(:setup_integration))
+ opts.on('--use INTEGRATION', 'Use INTEGRATION to kill mutations', &method(:setup_integration))
end
# Add filter options
#
# @param [OptionParser] opts
@@ -164,12 +161,9 @@
# @api private
#
def add_filter_options(opts)
opts.on('--ignore-subject PATTERN', 'Ignore subjects that match PATTERN') do |pattern|
add_matcher(:subject_ignores, Expression.parse(pattern))
- end
- opts.on('--code CODE', 'Scope execution to subjects with CODE') do |code|
- add_matcher(:subject_selects, [:code, code])
end
end
# Add debug options
#