reportportal / agent-java-cucumber

Cucumber JVM version [1.0.0; 2.0.0) adapter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serenity BDD Agent to support detailed reporting to reportportal

robinGupta11392 opened this issue · comments

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.

@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.

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.