Adjust flay score

This commit is contained in:
Markus Schirp 2014-06-02 15:15:04 +00:00
parent 7040a30b35
commit 328a926500
3 changed files with 15 additions and 1 deletions

View file

@ -3,6 +3,7 @@
source 'https://rubygems.org'
gem 'mutant', path: '.'
gem 'morpher', path: '../morpher'
gemspec name: 'mutant'

View file

@ -15,3 +15,16 @@ if ENV['TRAVIS']
end
end
end
desc 'Generate mutation operator listing'
task :list do
require 'mutant'
# TODO: Add a nice public interface
registry = Mutant::Mutator::Registry.send(:registry)
registry.keys.select do |key|
key.is_a?(Symbol)
end.sort.each do |type|
mutator = registry.fetch(type)
puts '%-18s: %s' % [type, mutator.name.sub(/\AMutant::Mutator::Node::/, '')]
end
end

View file

@ -1,3 +1,3 @@
---
threshold: 18
total_score: 848
total_score: 849