Class: RRRSpec::Client::SlaveRunner::RedisReportingFormatter

Inherits:
Object
  • Object
show all
Extended by:
ClassMethods
Defined in:
lib/rrrspec/client/slave_runner.rb

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary

Attributes included from ClassMethods

#failed, #passed, #pending

Instance Method Summary collapse

Methods included from ClassMethods

reset, status

Constructor Details

#initialize(_output) ⇒ RedisReportingFormatter

Returns a new instance of RedisReportingFormatter.



97
98
99
# File 'lib/rrrspec/client/slave_runner.rb', line 97

def initialize(_output)
  self.class.reset
end

Instance Method Details

#example_failed(notification) ⇒ Object



109
110
111
# File 'lib/rrrspec/client/slave_runner.rb', line 109

def example_failed(notification)
  self.class.example_failed(notification)
end

#example_passed(_notification) ⇒ Object



101
102
103
# File 'lib/rrrspec/client/slave_runner.rb', line 101

def example_passed(_notification)
  self.class.example_passed
end

#example_pending(_notification) ⇒ Object



105
106
107
# File 'lib/rrrspec/client/slave_runner.rb', line 105

def example_pending(_notification)
  self.class.example_pending
end