StreamReporter
Implements
Index
Constructors
Methods
Constructors
constructor
Parameters
output: Writable = process.stdout
A Writable stream that should receive the output
optionalstage: Stage
The stage this StageCrewMember should be assigned to
Returns StreamReporter
Methods
assignedTo
Creates a new instance of this StageCrewMember and assigns it to a given Stage.
Parameters
stage: Stage
An instance of a Stage this StageCrewMember will be assigned to
Returns StageCrewMember
A new instance of this StageCrewMember
notifyOf
Handles DomainEvent objects emitted by the StageManager.
Parameters
event: DomainEvent
Returns void
Serialises all the DomainEvent objects it receives and streams them as ndjson to the output stream.
Useful when debugging issues related to custom Serenity/JS test runner adapters.
Registering
StreamReporter
programmaticallyWriting
DomainEvents
to a fileRegistering
StreamReporter
using Protractor configurationRegistering
StreamReporter
using WebdriverIO configuration