java.lang.Object | |||
↳ | junit.framework.Assert | ||
↳ | junit.framework.TestCase | ||
↳ | com.atlassian.jira.functest.framework.FuncTestCase |
Known Direct Subclasses |
Known Indirect Subclasses |
The base class for JIRA "next generation" functional test cases. This lightweight implementation of junit.framework.TestCase provides for the ability to "record" exceptions that happening during the running of tests and produce "test artifacts" of these exceptions.
Also much of the standard JIRA setUp() and tearDown() is done via this class. It is the intended base class for JIRA web functional test cases. NOTE:setUp()
and tearDown()
are final, please use the template methods setUpTest()
and
tearDownTest()
instead
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.functest.framework.FunctTestConstants
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
administration | Use this field to access the Administration helper in play
|
||||||||||
assertions | Use this field to access the Assertions helper in play
|
||||||||||
backdoor | Use this field to access the Backdoor helper in play, which can make sly RPCs to the server. |
||||||||||
environmentData | Use this field to access the com.atlassian.jira.webtests.util.JIRAEnvironmentData in play | ||||||||||
form | Used to set form values in tests. | ||||||||||
funcTestHelperFactory | Factory for getting access to useful Func Test objects | ||||||||||
issueTableAssertions | Use this field to access the IssueTableAssertions helper in play
|
||||||||||
locator | Use this field to access the LocatorFactory in play
|
||||||||||
log | Use this field to access the com.atlassian.jira.testkit.client.log.FuncTestLogger in play | ||||||||||
navigation | Use this field to access the Navigation helper in play
|
||||||||||
oldway_consider_porting | This field is deprecated. think about why you need use the old ways | ||||||||||
page | Used to find out about the current HTML page that the test is on. | ||||||||||
parse | Use this field to access the Parser helper in play
|
||||||||||
tester | Use this field to access the net.sourceforge.jwebunit.WebTester in play | ||||||||||
text | Use this field to access the TextAssertions helper in play
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.functest.framework.FunctTestConstants
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Turns a simple key into a complete key for a built in custom field type
| |||||||||||
The outer most edge of a JUnit Test.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Overridden so we can "record" exceptions that may happen during test execution.
| |||||||||||
The default and final setUp() method will connect to JIRA and make sure its initialised and ready to go. | |||||||||||
Override this to set up any com.meterware.httpunit.HttpUnitOptions that must be set before the net.sourceforge.jwebunit.WebTester is instantiated.
| |||||||||||
Setup for an actual test
| |||||||||||
This will logout of JIRA and then produce test artifacts for any test that throws exceptions.
| |||||||||||
individual test tear down
| |||||||||||
A shortcut method to allow quick creation of
XPathLocator s |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
junit.framework.TestCase
| |||||||||||
From class
junit.framework.Assert
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.testkit.client.log.FuncTestLogger
| |||||||||||
From interface
com.atlassian.jira.webtests.util.EnvironmentAware
| |||||||||||
From interface
junit.framework.Test
|
Use this field to access the Backdoor
helper in play, which can make sly RPCs to the server.
Use this field to access the com.atlassian.jira.webtests.util.JIRAEnvironmentData in play
Factory for getting access to useful Func Test objects
Use this field to access the IssueTableAssertions
helper in play
Use this field to access the com.atlassian.jira.testkit.client.log.FuncTestLogger in play
This field is deprecated.
think about why you need use the old ways
Use this field to access the JIRAWebTest
test case in play. Access is
provided to the old way of writing functiona; test cases but its use is not encouraged. Please consider porting
the required function into the new framework.
Use this field to access the net.sourceforge.jwebunit.WebTester in play
Turns a simple key into a complete key for a built in custom field type
type | simple key |
---|
The default and final setUp() method will connect to JIRA and make sure its initialised and ready to go.
For individual test setUp, overridesetUpTest()
instead.
Override this to set up any com.meterware.httpunit.HttpUnitOptions that must be set before the net.sourceforge.jwebunit.WebTester is instantiated.
Setup for an actual test
This will logout of JIRA and then produce test artifacts for any test that throws exceptions.
For individual test tearDown, overridetearDownTest()
instead.
individual test tear down
A shortcut method to allow quick creation of XPathLocator
s
xpathExpression | the xpath expression |
---|