com.atlassian.jira.webtests
Class AcceptanceTestHarness

java.lang.Object
  extended by com.atlassian.jira.functest.framework.FuncTestSuite
      extended by com.atlassian.jira.webtests.AcceptanceTestHarness
All Implemented Interfaces:
junit.framework.Test

public class AcceptanceTestHarness
extends FuncTestSuite

This is the top level Test Suite for JIRA web functional tests. In order for a functional test to be run by the nightly / bamboo builds, it must be declared in this class or in a FuncTestSuite that is included via the class.


Field Summary
static FuncTestSuite SUITE
          A static declaration of this particular FuncTestSuite
 
Constructor Summary
AcceptanceTestHarness()
           
 
Method Summary
protected  TestSuiteBuilder createFuncTestBuilder()
           
static junit.framework.Test suite()
          The pattern in JUnit/IDEA JUnit runner is that if a class has a static suite() method that returns a Test, then this is the entry point for running your tests.
 
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestSuite
addBundledPlugins2Only, addSingleRunTest, addTest, addTests, addTestsInPackage, addTestsInPackageBundledPluginsOnly, addTestSuite, addTpmLdapOnly, countTestCases, createTest, createTest, getAllTests, getBundledPlugins2Tests, getFuncTests, getSingleRunTests, getTests, getTpmLdapTests, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUITE

public static final FuncTestSuite SUITE
A static declaration of this particular FuncTestSuite

Constructor Detail

AcceptanceTestHarness

public AcceptanceTestHarness()
Method Detail

suite

public static junit.framework.Test suite()
The pattern in JUnit/IDEA JUnit runner is that if a class has a static suite() method that returns a Test, then this is the entry point for running your tests. So make sure you declare one of these in the FuncTestSuite implementation.

Returns:
a Test that can be run by as JUnit TestRunner

createFuncTestBuilder

protected TestSuiteBuilder createFuncTestBuilder()
Overrides:
createFuncTestBuilder in class FuncTestSuite


Copyright © 2002-2014 Atlassian. All Rights Reserved.