Klov has been archived and thus it is no longer supported. Please consider upgrading to Klov Professional for many more features and fixes. Our homepage extentreports.com shares several details about Klov Professional, if you wish to learn more, please contact us.
KlovReporter works with the Extent Framework to push data into a MongoDB instance and the Klov server (media). This reporter does not print to a destination unlike the FileReporters.
Start and attach KlovReporter using
// intialize with a project name, build name ExtentKlovReporter klov = new ExtentKlovReporter("project", "build"); // address, host/port of MongoDB klov.initMongoDbConnection("localhost", 27017); // Klov server address klov.initKlovServerConnection("http://localhost");
The project name you provide will appear as a dropdown in the Klov server and the build will be available from
KlovReporter can also be setup using a properties file:
project.name=Default report.name=Build mongodb.host=localhost mongodb.port=27017 klov.host=http://localhost klov.port=80