Package org.testng.reporters
Class TextReporter
- java.lang.Object
-
- org.testng.reporters.TextReporter
-
- All Implemented Interfaces:
ITestListener
,ITestNGListener
public class TextReporter extends java.lang.Object implements ITestListener
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 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.testng.ITestListener
onStart, onTestFailedButWithinSuccessPercentage, onTestFailedWithTimeout, onTestFailure, onTestSkipped, onTestStart, onTestSuccess
-
-
-
-
Method Detail
-
onFinish
public void onFinish(ITestContext context)
Description copied from interface:ITestListener
Invoked after all the test methods belonging to the classes inside the <test> tag have run and all their Configuration methods have been called.- Specified by:
onFinish
in interfaceITestListener
- Parameters:
context
- The test context
-
-