Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serenity BDD Agent to support detailed reporting to reportportal #91

Open
robinGupta11392 opened this issue Aug 8, 2023 · 2 comments
Open

Comments

@robinGupta11392
Copy link

Is your feature request related to a problem? Please describe.
Currently there is no agent to support Serenity BDD automation. As per the docs on reportportal, I found this open-source contribution from Invictum but its outdated from both ReportPortal client-java and Serenity Core versions.
I am using the provided agent from cucumber6 but it is not able to report the detailed Steps like how this plugin used to work with old versions - https://github.com/Invictum/serenity-reportportal-integration

Describe the solution you'd like
Either an addition to existing cucumber6-7 agent or a separate agent plugin to support this integration will help to get this feature out of the box. It will be also helpful if we can have a starter-kit which we can extend as per our use cases.

Describe alternatives you've considered
java-agent-cucumber6 --> this works for providing the basic report for the scenario and immediate steps only (most hurtful is that attachments are missing from Reportportal Launch). Its missing the internal steps inside the traditional GIVEN, WHEN and THEN

Appreciate if there is any workaround or guidance to start building this plugin.

@HardNorth
Copy link
Member

@robinGupta11392 Unfortunately I don't have any example project which uses good amount of Serenity features to implement adequate listener. It looks like Serenity has StepListener class specially for that, but I can't say if that will be enough.

@robinGupta11392
Copy link
Author

Hi @HardNorth, thanks for your reply. I could find some of the example projects from serenity-BDD official GitHub account. Few of them are:

They have for other patterns too.

As a workaround, I tried to fork and update invictum's integration repo and have sent a PR yesterday. But It would really help if can help a reportportal official agent for serenity bdd to integrate StepListener with attachments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants