This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ObjectSpace.each_object(Module).each do |object| | |
method = object.method(:name) | |
name = | |
begin | |
object.name | |
rescue | |
puts "#{method} from object: #{object.inspect} raised exception" | |
next | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mutant configuration: | |
Matcher: #<Mutant::Matcher::Scope cache=#<Mutant::Cache> scope=TestApp::Literal> | |
Strategy: #<Mutant::Rspec::Strategy> | |
Expect Coverage: 100.00% | |
TestApp::Literal.string:/home/mbj/devel/mutant/test_app/lib/test_app/literal.rb:22 | |
- rspec:TestApp::Literal#command | |
- rspec:TestApp::Literal#string | |
.FFFF | |
(01/05) 20% - 0.10s | |
TestApp::Literal#boolean:/home/mbj/devel/mutant/test_app/lib/test_app/literal.rb:6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"*"=>{"isolation"=>true, "selector"=>"exact"}, "Foo::Bar"=>{"isolation"=>false, "selector"=>"Foo#bar"}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On production devtools is not loaded | |
if defined?(Devtools) | |
# Load all rake tasks | |
Rake.application.load_imports | |
# Remove metrics:mutant from devtools | |
task('metrics:mutant').clear | |
namespace :metrics do | |
allowed_versions = %w[mri-1.9.3 mri-2.0.0 rbx-1.9.3] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo | |
include Virtus.model(:foo, :bar) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Other | |
end | |
module Foo | |
module Other | |
end | |
module Bar | |
def x | |
Other # Looked up to Foo::Other |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo | |
# triggerable at load time, and only therew | |
foo = 1 | |
def subject | |
# triggerable at runtime | |
foo = 1 | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Foo | |
module Bar | |
Foo | |
end | |
module Foo | |
end | |
Foo | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mbj@mbj ~/devel/naught (mutant) % bundle exec rake mutant | |
/home/mbj/.rubies/ruby-2.0.0-p353/bin/ruby -S rspec ./spec/base_object_spec.rb ./spec/basic_null_object_spec.rb ./spec/blackhole_spec.rb ./spec/explicit_conversions_spec.rb ./spec/functions/actual_spec.rb ./spec/functions/just_spec.rb ./spec/functions/maybe_spec.rb ./spec/functions/null_spec.rb ./spec/implicit_conversions_spec.rb ./spec/mimic_spec.rb ./spec/naught/null_object_builder/command_spec.rb ./spec/naught/null_object_builder_spec.rb ./spec/naught_spec.rb ./spec/pebble_spec.rb ./spec/predicate_spec.rb ./spec/singleton_null_object_spec.rb | |
.................................................................................... | |
Finished in 0.03124 seconds | |
84 examples, 0 failures | |
Randomized with seed 32405 | |
Mutant configuration: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53300102912 | |
53300102912 | |
Nameserver error | |
ERROR: 116 SOA record response must be authoritative (resolver, answer) (local interface [IPv4: nast-18-out.prod.denic.de/10.121.46.36|IPv6: /2a02:568:101:214:0:0:1:15], , targetting endpoint [2620:111:8003:0:0:0:0:53]:53 (UDP, Timeout: 3s, Retry: 1 x 0s, NO DNSSEC, ignore TC), local interface [IPv4: nast-18-out.prod.denic.de/10.121.46.36|IPv6: /2a02:568:101:214:0:0:1:15], , targetting endpoint [2620:111:8003:0:0:0:0:53]:53 (UDP, Timeout: 3s, Retry: 1 x 0s, NO DNSSEC, ignore TC): <No records>) | |
53300102912 | |
Nameserver error | |
ERROR: 116 SOA record response must be authoritative (resolver, answer) (local interface [IPv4: nast-18-out.prod.denic.de/10.121.46.36|IPv6: /2a02:568:101:214:0:0:1:15], , targetting endpoint 50.31.242.53:53 (UDP, Timeout: 3s, Retry: 1 x 0s, NO DNSSEC, ignore TC), local interface [IPv4: nast-18-out.prod.denic.de/10.121.46.36|IPv6: /2a02:568:101:214:0:0:1:15], , targetting endpoint 50.31.242.53:53 (UDP, Timeout: 3s, Retry: 1 x 0s, NO DNSSEC, ignore TC) |