Package org.testng.reporters
Class TextReporter
- java.lang.Object
-
- org.testng.TestListenerAdapter
-
- org.testng.reporters.TextReporter
-
- All Implemented Interfaces:
IConfigurationListener,IConfigurationListener2,IResultListener,IResultListener2,ITestListener,ITestNGListener
public class TextReporter extends TestListenerAdapter
A simple reporter that collects the results and prints them on standard out.
-
-
Constructor Summary
Constructors Constructor Description TextReporter(java.lang.String testName, int verbose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonFinish(ITestContext context)Invoked after all the tests have run and all their Configuration methods have been called.-
Methods inherited from class org.testng.TestListenerAdapter
beforeConfiguration, getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onStart, onTestFailedButWithinSuccessPercentage, onTestFailure, onTestSkipped, onTestStart, onTestSuccess, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests, toString
-
-
-
-
Method Detail
-
onFinish
public void onFinish(ITestContext context)
Description copied from interface:ITestListenerInvoked after all the tests have run and all their Configuration methods have been called.- Specified by:
onFinishin interfaceITestListener- Overrides:
onFinishin classTestListenerAdapter
-
-