Remove old executable

This commit is contained in:
Markus Schirp 2012-08-29 13:44:18 +02:00
parent ebea57a950
commit 6b300ae5c5

View file

@ -1,33 +0,0 @@
$: << 'lib'
require 'mutant'
require 'rspec'
require './spec/support/zombie'
Zombie.setup
class MutantKiller < Zombie::Killer::Rspec
def filename_pattern
subject = mutation.subject
matcher = subject.matcher
context = subject.context
path = context.scope.name.split('::').map do |name|
name.downcase
end.join('/')
"spec/unit/#{path}"
#case matcher
#when Zombie::Matcher::Method::Singleton
#when Zombie::Matcher::Method::Instance
#else
# raise "Unkown matcher: #{matcher.class}"
#end
end
end
Zombie::Runner.run(
:killer => MutantKiller,
:pattern => /\AMutant(::|\z)/,
:reporter => Zombie::Reporter::CLI.new($stderr)
)