Module: Minitest::Requeueing
- Defined in:
- lib/minitest/queue.rb
Instance Method Summary collapse
- #requeue! ⇒ Object
- #requeued? ⇒ Boolean
-
#skipped? ⇒ Boolean
Make requeues acts as skips for reporters not aware of the difference.
Instance Method Details
#requeue! ⇒ Object
80 81 82 |
# File 'lib/minitest/queue.rb', line 80 def requeue! self.failures.unshift(Requeue.new(self.failures.shift)) end |
#requeued? ⇒ Boolean
76 77 78 |
# File 'lib/minitest/queue.rb', line 76 def requeued? Requeue === failure end |
#skipped? ⇒ Boolean
Make requeues acts as skips for reporters not aware of the difference.
72 73 74 |
# File 'lib/minitest/queue.rb', line 72 def skipped? super || requeued? end |