optimusTemplate icon indicating copy to clipboard operation
optimusTemplate copied to clipboard

Enquiry: Is there a option to customise the Optimus reporting

Open arvind1017 opened this issue 6 years ago • 4 comments

Hi Team,

I am using Optimus as a framework to automate the tests. The cucumber report that is generated is good but, my management wants reporting in a different format, and every one is interested in the "Cucumber Extent reporting" eg: https://github.com/email2vimalraj/CucumberExtentReporter.

  1. Is there a way to get a report in this format from Optimus?
  2. How can I pass in the options while running cucumber files like the below. @CucumberOptions( features = {"src/test/resources/features"}, glue = {"com.cucumber.stepdefinitions"}, plugin = {"com.cucumber.listener.ExtentCucumberFormatter:output/report.html"} )

Thanks, Arvind

arvind1017 avatar Jun 13 '18 03:06 arvind1017

Hey Arvind,

Optimus currently does not support extent reporting. We will add this as an enhancement and keep you updated.

I have gone through the reporter library you have shared, it uses old cucumber dependencies than the latest one, will have to evaluate the impact of it.

Thanks, Krishna

KrishnB avatar Jun 13 '18 09:06 KrishnB

Thank you for the update Krishna.

Can you please advise if there is a way to change the cucumber options?

eg: changes to cucumber options would help me rerun the failed tests if needed

arvind1017 avatar Jun 14 '18 01:06 arvind1017

Hey Arvind,

Optimus has a gradle plugin that manages the build. You can find the project here https://github.com/testvagrant/optimusgradle. All cucumber level options are managed under respective tasks. eg: FragmentationTask and DistributionTask. Currently, the args are not exposed to any project level task, thus you will have to make changes in this project. Let us know if this helps.

Update Reg ExtentReport: The library you have shared depends on old version of cucumber while the optimus is on different version. Thus it would not be possible to support this report type immediately. However we will keep a watch on this project for any changes.

Thanks, Krishna

KrishnB avatar Jun 19 '18 05:06 KrishnB

@arvind1017 Hi Arvind , Extent report use old cucumber and they have no plan as such to upgrade. Lets talk offline and we will talk in detail about reporting .

I am planning to export data to elastic search and add kribana on top of it for reporting, will manage the indexing in elastic search. May be @KrishnB can suggest better and if i am not wrong already team working on Dashboard which is better then Extent report UI.

asitishere avatar Jul 02 '18 11:07 asitishere