Skip to content

Commit 046c611

Browse files
committed
Allows intantiating KlovReporter with just the project-name
1 parent d7ae15c commit 046c611

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/main/java/com/aventstack/extentreports/reporter/ExtentKlovReporter.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,16 @@ public class ExtentKlovReporter extends ConfigurableReporter {
9999
}
100100

101101
/**
102-
* Initializes the KlovReporter
102+
* Initializes the KlovReporter with the project name and default report name
103+
*
104+
* <p>
105+
* The reportName will be created using the current timestamp
106+
*
107+
* @param projectName Name of the project
108+
*
103109
*/
104-
public ExtentKlovReporter() {
110+
public ExtentKlovReporter(String projectName) {
111+
this.projectName = projectName;
105112
}
106113

107114
/**

0 commit comments

Comments
 (0)