File tree Expand file tree Collapse file tree
src/main/java/com/aventstack/extentreports Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments