com.atlassian.selenium
Class SeleniumTestSuite

java.lang.Object
  extended by junit.framework.TestSuite
      extended by com.atlassian.selenium.SeleniumTestSuite
All Implemented Interfaces:
junit.framework.Test

public abstract class SeleniumTestSuite
extends junit.framework.TestSuite

A skeleton test suite for Selenium tests. The run method starts the selenium server (if the selenium configuration class has been set to allow this.

Since:
v3.12

Constructor Summary
SeleniumTestSuite()
           
 
Method Summary
protected abstract  SeleniumConfiguration getSeleniumConfiguration()
          To be implemented by users of this class.
 void run(junit.framework.TestResult testResult)
          A special run methods that, depending on the SeleniumConfiguration, will start the selenium server and client.
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, runTest, setName, testAt, testCount, tests, toString, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SeleniumTestSuite

public SeleniumTestSuite()
Method Detail

getSeleniumConfiguration

protected abstract SeleniumConfiguration getSeleniumConfiguration()
To be implemented by users of this class.

Returns:
an implementation of the SeleniumConfiguration interface containing the appropriate selenium configuration information.

run

public final void run(junit.framework.TestResult testResult)
A special run methods that, depending on the SeleniumConfiguration, will start the selenium server and client.

Specified by:
run in interface junit.framework.Test
Overrides:
run in class junit.framework.TestSuite
Parameters:
testResult - Test results class to be passed to parent


Copyright © 2014 Atlassian. All rights reserved.