Class: Rutema::Reporters::BlockReporter
- Inherits:
-
Object
- Object
- Rutema::Reporters::BlockReporter
- 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).
Instance Method Summary collapse
-
#initialize(configuration, _dispatcher) ⇒ BlockReporter
constructor
Initialize a new instance from the given configuration.
- #report(specifications, states, errors) ⇒ Object
Constructor Details
#initialize(configuration, _dispatcher) ⇒ BlockReporter
Initialize a new instance from the given configuration
configuration- the Configuration instance of the test rundispatcher- 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 |