Skip to content

Instantly share code, notes, and snippets.

@indrekj
Created March 30, 2013 19:23
Show Gist options
  • Select an option

  • Save indrekj/5278023 to your computer and use it in GitHub Desktop.

Select an option

Save indrekj/5278023 to your computer and use it in GitHub Desktop.
require "virtus"
module Bitbot
module Live
class Depth
include Virtus
attribute :price, Price
end
end
end
# mutant -r ./spec/spec_helper.rb --rspec-dm2 ::Bitbot::Live::Depth
Mutant configuration:
Matcher: #<Mutant::Matcher::ObjectSpace scope_name_pattern=/\ABitbot::Live::Depth(\z|::)/>
Filter: Mutant::Mutation::Filter::ALL
Strategy: #<Mutant::Strategy::Rspec::DM2>
subjects: 0
mutations: 0
noop_fails: 0
kills: 0
alive: 0
mtime: 0.00s
rtime: 0.01s
require "virtus"
module Bitbot
module Live
class Depth
include Virtus::ValueObject
attribute :price, Price
end
end
end
# mutant -r ./spec/spec_helper.rb --rspec-dm2 ::Bitbot::Live::Depth
Mutant configuration:
Matcher: #<Mutant::Matcher::ObjectSpace scope_name_pattern=/\ABitbot::Live::Depth(\z|::)/>
Filter: Mutant::Mutation::Filter::ALL
Strategy: #<Mutant::Strategy::Rspec::DM2>
Subject: Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113
Alive: rspec:noop:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:38cba (0.04s)
Alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:14106 (0.04s)
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ attribute_set
end
Alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:d0df8 (0.04s)
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ attribute_set.set(attributes)
end
Alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:6acdf (0.04s)
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ attribute_set.set(self)
end
Alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:8cfaa (0.04s)
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ attribute_set.set
end
Alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:5ce4d (0.04s)
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ nil
end
Alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:9299d (0.04s)
@@ -1,4 +1,4 @@
-def attributes=(attributes)
+def attributes=(sfb2d8f3226d70176f6fe)
attribute_set.set(self, attributes)
end
Alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:1829b (0.04s)
@@ -1,4 +1,4 @@
-def attributes=(attributes)
+def attributes=
attribute_set.set(self, attributes)
end
!!! Mutant alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:14106 !!!
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ attribute_set
end
Took: (0.04s)
!!! Mutant alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:d0df8 !!!
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ attribute_set.set(attributes)
end
Took: (0.04s)
!!! Mutant alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:6acdf !!!
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ attribute_set.set(self)
end
Took: (0.04s)
!!! Mutant alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:8cfaa !!!
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ attribute_set.set
end
Took: (0.04s)
!!! Mutant alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:5ce4d !!!
@@ -1,4 +1,4 @@
def attributes=(attributes)
- attribute_set.set(self, attributes)
+ nil
end
Took: (0.04s)
!!! Mutant alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:9299d !!!
@@ -1,4 +1,4 @@
-def attributes=(attributes)
+def attributes=(sfb2d8f3226d70176f6fe)
attribute_set.set(self, attributes)
end
Took: (0.04s)
!!! Mutant alive: rspec:Bitbot::Live::Depth#attributes=:/home/innu/.rvm/gems/ruby-1.9.3-p392@bitbot-live/bundler/gems/virtus-5d9bb73f1f37/lib/virtus/instance_methods.rb:113:1829b !!!
@@ -1,4 +1,4 @@
-def attributes=(attributes)
+def attributes=
attribute_set.set(self, attributes)
end
Took: (0.04s)
subjects: 1
mutations: 7
noop_fails: 0
kills: 0
alive: 7
mtime: 0.28s
rtime: 0.34s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment