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

Enquiry: Is there a option to customise the Optimus reporting #25

Open
arvind1017 opened this issue Jun 13, 2018 · 4 comments
Open

Enquiry: Is there a option to customise the Optimus reporting #25

arvind1017 opened this issue Jun 13, 2018 · 4 comments

Comments

@arvind1017
Copy link

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

@KrishnB
Copy link
Collaborator

KrishnB commented Jun 13, 2018

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

@arvind1017
Copy link
Author

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

@KrishnB
Copy link
Collaborator

KrishnB commented Jun 19, 2018

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

@asitishere
Copy link

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

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

3 participants