public class TestHTMLReporter extends Object implements ITestListener
| Constructor and Description |
|---|
TestHTMLReporter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateLog(ITestContext testContext,
String host,
String outputDirectory,
Collection<ITestResult> failedConfs,
Collection<ITestResult> skippedConfs,
Collection<ITestResult> passedTests,
Collection<ITestResult> failedTests,
Collection<ITestResult> skippedTests,
Collection<ITestResult> percentageTests) |
static void |
generateTable(PrintWriter pw,
String title,
Collection<ITestResult> tests,
String cssClass,
Comparator<ITestResult> comparator) |
void |
onFinish(ITestContext context)
Invoked after all the test methods belonging to the classes inside the <test> tag have
run and all their Configuration methods have been called.
|
void |
onStart(ITestContext context)
Invoked before running all the test methods belonging to the classes inside the <test>
tag and calling all their Configuration methods.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonTestFailedButWithinSuccessPercentage, onTestFailedWithTimeout, onTestFailure, onTestSkipped, onTestStart, onTestSuccesspublic void onStart(ITestContext context)
ITestListeneronStart in interface ITestListenercontext - The test contextpublic void onFinish(ITestContext context)
ITestListeneronFinish in interface ITestListenercontext - The test contextpublic static void generateTable(PrintWriter pw, String title, Collection<ITestResult> tests, String cssClass, Comparator<ITestResult> comparator)
public static void generateLog(ITestContext testContext, String host, String outputDirectory, Collection<ITestResult> failedConfs, Collection<ITestResult> skippedConfs, Collection<ITestResult> passedTests, Collection<ITestResult> failedTests, Collection<ITestResult> skippedTests, Collection<ITestResult> percentageTests)
Copyright © 2025. All rights reserved.