com.atlassian.jira.functest.framework
Interface WebTestListener

All Known Implementing Classes:
AbstractWebTestListener, CompositeSuiteListener, DumpPageSourceListener, FuncTestTimingsListener, JiraTestWatchDog, LogPageSourceListener, LogTestInformationListener, ScreenshotListener, TomcatShutdownListener

public interface WebTestListener

An observer of a Test.

Since:
v4.2

Method Summary
 void suiteFinished(WebTestDescription suiteDescription)
          Called when the whole web test suite is going finishing.
 void suiteStarted(WebTestDescription suiteDescription)
          Called when the whole web test suite is going to start.
 void testError(WebTestDescription description, Throwable error)
          Called when test ends with an error
 void testFailure(WebTestDescription description, Throwable failure)
          Called on test finished with an assertion failure.
 void testFinished(WebTestDescription description)
          Called on finished web test.
 void testStarted(WebTestDescription description)
          Called on start of a single web test.
 

Method Detail

suiteStarted

void suiteStarted(WebTestDescription suiteDescription)
Called when the whole web test suite is going to start.

Parameters:
suiteDescription - description of the whole suite

suiteFinished

void suiteFinished(WebTestDescription suiteDescription)
Called when the whole web test suite is going finishing.

Parameters:
suiteDescription - description of the whole suite

testStarted

void testStarted(WebTestDescription description)
Called on start of a single web test.

Parameters:
description - test description

testFinished

void testFinished(WebTestDescription description)
Called on finished web test.

Parameters:
description - test description

testError

void testError(WebTestDescription description,
               Throwable error)
Called when test ends with an error

Parameters:
description - test description
error - error

testFailure

void testFailure(WebTestDescription description,
                 Throwable failure)
Called on test finished with an assertion failure.

Parameters:
description - test description
failure - failure


Copyright © 2002-2012 Atlassian. All Rights Reserved.