email2vimalraj / CucumberExtentReporter

A plugin to generate the cucumber jvm custom html report using ExtentsReport
http://www.vimalselvam.com/cucumber-extent-reporter/
MIT License
58 stars 75 forks source link

klov support #67

Closed buekera closed 6 years ago

buekera commented 6 years ago

I was just wondering if there is already support for klov (will displace ExtentX server in the near future).

Let me know if anybody knows something about this.

Kind regards

anshooarora commented 6 years ago

There are 2 ways to do this:

  1. Add a KlovReporter getter here: https://github.com/email2vimalraj/CucumberExtentReporter/blob/master/src/main/java/com/cucumber/listener/Reporter.java
  2. Or simply, create an instance of this reporter and attach to ExtentReports:
KlovReporter klov = new KlovReporter();
klov.setProjectName("Extent");  // project name
klov.setReportName("BuildName");  // build name
klov.setKlovUrl("http://localhost");  // url where Klov is running
klov.initMongoDbConnection("localhost", 27017);  // mongo-db address

Reporter.getExtentReport().attachReporter(klov);
buekera commented 6 years ago

Oh wow, sounds pretty easy :-) Thanks for the fast response!

email2vimalraj commented 6 years ago

I'll be adding native support for klov in the upcoming release.

buekera commented 6 years ago

@email2vimalraj sounds great! :)

veeramanikandanvv commented 6 years ago

@anshooarora: is there any way to select project->subproject like style in extentx report. Say for example I need to select project in the tree structure as release name-test environment- product- ... Can you please help me on the same

csiegler commented 6 years ago

@email2vimalraj Hello! This is a wonderful plugin that my team is using for reports and integrating with Klov server. Is there any timeline on when the release including native klov support will be published? Thanks~

msingh3 commented 6 years ago

@email2vimalraj: i added klov support for one of the projects I was working on. If you want I can commit that to the default branch to save you some.

buekera commented 6 years ago

@msingh3 That would be awesome!

msingh3 commented 6 years ago

@buekera : I dont have access to push commits to this repo. So you'll have to wait till @email2vimalraj adds it.

buekera commented 6 years ago

@msingh3 Just create a pull request, no reason to wait at all. I highly doubt that he will give you write acces to his repo :P

email2vimalraj commented 6 years ago

@msingh3: That would be great. I appreciate a PR since I'm busy with other things. @buekera: Thanks for assisting people actively.

Thanks Vimalraj http://vimalselvam.com https://www.gitshowcase.com/email2vimalraj

On 17 April 2018 at 01:21, buekera notifications@github.com wrote:

@msingh3 https://github.com/msingh3 Just create a pull request, no reason to wait at all. I highly doubt that he will give you write acces to his repo :P

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/email2vimalraj/CucumberExtentReporter/issues/67#issuecomment-381727671, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKI3tyJLHbtJNt6r9K2olXko12lmESVks5tpPZPgaJpZM4QfNrB .

buekera commented 6 years ago

@email2vimalraj you're welcome!

email2vimalraj commented 6 years ago

Added the klov native support. Thanks to @msingh3 for contributing.

RaghuveerAddagada commented 5 years ago

I need some help here

what if my klov is not running (i just dont want to attach any screenshot). can i comment below line in my code. klov.setKlovUrl("http://localhost"); // url where Klov is running

And what if my MongoDB is hosted on elsewhere and it has different and it has basic authentication. klov.initMongoDbConnection("localhost", 27017); // mongo-db address