KlovReporter to have ability to specify a database using a setter as well as klov.properties as used by TestNG and Cucumber adapters:
mongodb.host=localhost
mongodb.port=27017
mongodb.uri=
database.name=DatabaseName
klov.host=http://localhost
klov.port=80
klov.project.name=KlovReporter
klov.report.name=
As in the properties file above, the database.name is the target setting. To load:
File f = new File("config/klov.properties");
ExtentKlovReporter klov = new ExtentKlovReporter();
klov.loadInitializationParams(new FileInputStream(f));
or via method signature:
klov.setDatabaseName("DatabaseName");
KlovReporter to have ability to specify a database using a setter as well as
klov.propertiesas used by TestNG and Cucumber adapters:As in the properties file above, the
database.nameis the target setting. To load:or via method signature: