To see messages from this reporter, either run Ant in verbose mode ('ant -v') or set verbose level to 5 or higher
| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | LISTENER_PREFIX
Default prefix for messages printed out by this reporter |
| private final String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | VerboseReporter(String
prefix for messages printed out by this reporter prefix)Create VerboseReporter with custom prefix |
| Modifier and Type | Method and Description |
|---|---|
| public void | beforeConfiguration(ITestResult
The test result tr)Overrides default org. |
| private String | Returns: FQN of a class + method declaration for a method passed in ie. test.triangle.CheckCount.testCheckCount(java.lang.String)method to be described method, ITestResult tr)
|
| protected void | |
| private void | |
| private void | logTestResult(VerboseReporter.
status of passed in itr st,test result to be described itr, boolean is itr describing configuration method isConfMethod)Log meaningful message for passed in arguments. |
| public void | onConfigurationFailure(ITestResult
The test result tr)Overrides default org. |
| public void | onConfigurationSkip(ITestResult
The test result tr)Overrides default org. |
| public void | onConfigurationSuccess(ITestResult
The test result tr)Overrides default org. |
| public void | onFinish(ITestContext
The test context context)Overrides default org. |
| public void | onStart(ITestContext
The test context ctx)Overrides default org. |
| public void | onTestFailedButWithinSuccessPercentage(ITestResult
ITestResult containing information about the run testOverrides default org. |
| public void | onTestFailure(ITestResult
ITestResult containing information about the run testOverrides default org. |
| public void | onTestSkipped(ITestResult
ITestResult containing information about the run testOverrides default org. |
| public void | onTestStart(ITestResult
the partially filled tr)ITestResultOverrides default org. |
| public void | onTestSuccess(ITestResult
ITestResult containing information about the run testOverrides default org. |
| private ITestNGMethod[] | |
| public String |
| LISTENER_PREFIX | back to summary |
|---|---|
| public static final String LISTENER_PREFIX Default prefix for messages printed out by this reporter | |
| prefix | back to summary |
|---|---|
| private final String prefix | |
| suiteName | back to summary |
|---|---|
| private String suiteName | |
| VerboseReporter | back to summary |
|---|---|
| public VerboseReporter(String prefix) Create VerboseReporter with custom prefix
| |
| beforeConfiguration | back to summary |
|---|---|
| public void beforeConfiguration(ITestResult tr) Overrides default org. Doc from org. Invoked before a configuration method is invoked.
| |
| getMethodDeclaration | back to summary |
|---|---|
private String getMethodDeclaration(ITestNGMethod method, ITestResult tr)
| |
| log | back to summary |
|---|---|
| protected void log(String message) | |
| logResults | back to summary |
|---|---|
| private void logResults(ITestContext context) Print out test summary | |
| logTestResult | back to summary |
|---|---|
| private void logTestResult(VerboseReporter. Log meaningful message for passed in arguments. Message itself is of form: $status: "$suiteName" - $methodDeclaration ($actualArguments) finished in $x ms ($run of $totalRuns)
| |
| onConfigurationFailure | back to summary |
|---|---|
| public void onConfigurationFailure(ITestResult tr) Overrides default org. Doc from org. Invoked whenever a configuration method failed.
| |
| onConfigurationSkip | back to summary |
|---|---|
| public void onConfigurationSkip(ITestResult tr) Overrides default org. Doc from org. Invoked whenever a configuration method was skipped.
| |
| onConfigurationSuccess | back to summary |
|---|---|
| public void onConfigurationSuccess(ITestResult tr) Overrides default org. Doc from org. Invoked whenever a configuration method succeeded.
| |
| onFinish | back to summary |
|---|---|
| public void onFinish(ITestContext context) Overrides default org. Doc from org. Invoked after all the test methods belonging to the classes inside the <test> tag have run and all their Configuration methods have been called.
| |
| onStart | back to summary |
|---|---|
| public void onStart(ITestContext ctx) Overrides default org. Doc from org. Invoked before running all the test methods belonging to the classes inside the <test> tag and calling all their Configuration methods.
| |
| onTestFailedButWithinSuccessPercentage | back to summary |
|---|---|
| public void onTestFailedButWithinSuccessPercentage(ITestResult tr) Overrides default org. Doc from org. Invoked each time a method fails but has been annotated with successPercentage and this failure still keeps it within the success percentage requested.
| |
| onTestFailure | back to summary |
|---|---|
| public void onTestFailure(ITestResult tr) Overrides default org. Doc from org. Invoked each time a test fails.
| |
| onTestSkipped | back to summary |
|---|---|
| public void onTestSkipped(ITestResult tr) Overrides default org. Doc from org. Invoked each time a test is skipped.
| |
| onTestStart | back to summary |
|---|---|
| public void onTestStart(ITestResult tr) Overrides default org. Doc from org. Invoked each time before a test will be invoked. The
| |
| onTestSuccess | back to summary |
|---|---|
| public void onTestSuccess(ITestResult tr) Overrides default org. Doc from org. Invoked each time a test succeeds.
| |
| resultsToMethods | back to summary |
|---|---|
| private ITestNGMethod[] resultsToMethods(Collection<ITestResult> results) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final VerboseReporter. | |
| public static final VerboseReporter. | |
| public static final VerboseReporter. | |
| public static final VerboseReporter. | |
| public static final VerboseReporter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static VerboseReporter. | |
| public static VerboseReporter. |
| FAILURE | back to summary |
|---|---|
| public static final VerboseReporter. | |
| SKIP | back to summary |
|---|---|
| public static final VerboseReporter. | |
| STARTED | back to summary |
|---|---|
| public static final VerboseReporter. | |
| SUCCESS | back to summary |
|---|---|
| public static final VerboseReporter. | |
| SUCCESS_PERCENTAGE_FAILURE | back to summary |
|---|---|
| public static final VerboseReporter. | |
| Status | back to summary |
|---|---|
| private Status() | |
| valueOf | back to summary |
|---|---|
| public static VerboseReporter. | |
| values | back to summary |
|---|---|
| public static VerboseReporter. | |