Artifact Archiver
ArtifactArchiver
, available as part of the @serenity-js/core
module,
listens to ArtifactGenerated
events generated by other StageCrewMembers
and saves the artifacts they contain to disk. For example, ArtifactArchiver
is responsible for persisting screenshots generated by the Photographer
, as well as Serenity BDD json
reports
generated by the SerenityBDDReporter
.
Installation and usage​
To learn more about the ArtifactArchiver
, please consult:
- installation instructions in
@serenity-js/core
documentation, - configuration examples in
ArtifactArchiver
.
You might also want to explore Serenity/JS example projects on GitHub.
Integration​
ArtifactArchiver
listens to ArtifactGenerated
domain events
and emits ArtifactArchived
events when the generated artifact is successfully saved to disk.