SerenityBDDReporter
Implements
- StageCrewMember
Index
Constructors
Methods
Constructors
constructor
Parameters
requirementsHierarchy: RequirementsHierarchy
optionalstage: Stage
The stage this StageCrewMember should be assigned to
Returns SerenityBDDReporter
Methods
staticfromJSON
Parameters
config: SerenityBDDReporterConfig
Returns StageCrewMemberBuilder<SerenityBDDReporter>
assignedTo
Parameters
stage: Stage
Returns StageCrewMember
notifyOf
Parameters
event: DomainEvent
Returns void
A StageCrewMember that produces Serenity BDD-standard JSON reports to be parsed by Serenity BDD CLI Reporter to produce HTML reports and living documentation.
Registering Serenity BDD Reporter programmatically
Using Serenity BDD Reporter with Playwright Test
Using Serenity BDD Reporter with WebdriverIO
Using Serenity BDD Reporter with Protractor
Configuring Serenity BDD Reporter
To override Serenity BDD Reporter default configuration, provide a SerenityBDDReporterConfig as the second element of the SerenityConfig.crew array using your test runner-specific configuration mechanism.
For example, to change the default location of the requirements hierarchy root directory, specify the
specDirectory
property:Learn more: