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(String testName, int verbose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onFinish(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
-
-
-
-
Constructor Detail
-
TextReporter
public TextReporter(String testName, int verbose)
-
-
Method Detail
-
onFinish
public void onFinish(ITestContext context)
Description copied from interface:ITestListener
Invoked after all the tests have run and all their Configuration methods have been called.- Specified by:
onFinish
in interfaceITestListener
- Overrides:
onFinish
in classTestListenerAdapter
-
-