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 voidonFinish(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
-
Methods inherited from interface org.testng.ITestNGListener
isEnabled
-
-
-
-
Method Detail
-
onFinish
public void onFinish(ITestContext context)
Description copied from interface:ITestListenerInvoked 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:
onFinishin interfaceITestListener- Parameters:
context- The test context
-
-