Class: Rutema::Reporters::BlockReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/rutema/core/reporter.rb

Overview

Base class for block reporters

Block reporters are invoked at the end/after a test run. They offer means to e.g. print a summary after a test run or create a test report file for CI integration (see Reporters::JUnit as an example).

Direct Known Subclasses

JSON, JUnit, Summary

Instance Method Summary collapse

Constructor Details

#initialize(configuration, _dispatcher) ⇒ BlockReporter

Initialize a new instance from the given configuration

  • configuration - the Configuration instance of the test run
  • dispatcher - unused


27
28
29
# File 'lib/rutema/core/reporter.rb', line 27

def initialize(configuration, _dispatcher)
  @configuration = configuration
end

Instance Method Details

#report(specifications, states, errors) ⇒ Object



33
34
# File 'lib/rutema/core/reporter.rb', line 33

def report(specifications, states, errors)
end