Skip to content

Alternative implementation of the ConsoleReporter #2797

Answered by jan-molak
nbarrett asked this question in How to... ?
Discussion options

You must be logged in to vote

how can I do this better by creating an alternative implementation of the ConsoleReporter that writes directly to my database in a non-scrapy way?

@nbarrett - Please have a look at https://github.com/orgs/serenity-js/discussions/2839
While that question talks about code coverage reporting, your use case is similar, in that you want to have a custom stage crew member that performs async operations in response to events.

crew members registered with the worker processes¹ get some realtime updates, but lack a handful of events (like SceneStarts and TestRunStarts) and scene-identifying details like sceneId

@TurekBot - Yes, I'm working on addressing that as part of #2788
I want both the st…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@nbarrett
Comment options

@jan-molak
Comment options

Answer selected by jan-molak
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants