Skip to content

Commit f8e4730

Browse files
committed
fix docs
1 parent e5b8952 commit f8e4730

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

src/main/java/com/aventstack/extentreports/ExtentReports.java

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,14 @@
2121
*
2222
* <p>
2323
* ExtentReports itself does not build any reports, but allows reporters to
24-
* access information, which in turn build the said reports. An example of
24+
* access information, which in turn create the reports. An example of
2525
* building an HTML report and adding information to ExtentX:
2626
* </p>
2727
*
2828
* <pre>
29-
* ExtentHtmlReporter html = new ExtentHtmlReporter("Extent.html");
30-
* ExtentXReporter extentx = new ExtentXReporter("localhost");
31-
*
29+
* ExtentSparkReporter spark = new ExtentHtmlReporter("ExtentSpark.html");
3230
* ExtentReports extent = new ExtentReports();
33-
* extent.attachReporter(html, extentx);
31+
* extent.attachReporter(spark);
3432
*
3533
* extent.createTest("TestName").pass("Test Passed");
3634
*
@@ -272,11 +270,8 @@ public void removeTest(String name) {
272270
* Writes test information from the started reporters to their output view
273271
*
274272
* <ul>
275-
* <li>extent-html-formatter: flush output to HTML file</li>
276-
* <li>extent-klov-reporter: updates MongoDB collections</li>
277-
* <li>extent-email-formatter (pro-only): creates or appends to an HTML
278-
* file</li>
279-
* <li>ConsoleLogger: no action taken</li>
273+
* <li>ExtentSparkReporter: flush output to HTML file</li>
274+
* <li>ExtentKlovReporter: inserts or updates info in MongoDB</li>
280275
* </ul>
281276
*/
282277
@Override

0 commit comments

Comments
 (0)