Class JUnit5TestWebTestDescription
java.lang.Object
com.atlassian.jira.functest.framework.suite.JUnit5TestWebTestDescription
- All Implemented Interfaces:
WebTestDescription
WebTestDescription based on the JUnit 5 / JUnit Jupiter TestIdentifier
TestIdentifier.- Since:
- v11.0
-
Constructor Summary
ConstructorsConstructorDescriptionJUnit5TestWebTestDescription(org.junit.platform.launcher.TestIdentifier identifier) -
Method Summary
Modifier and TypeMethodDescriptionList of annotations of the test.Set of categories describing this test.children()Descriptions of child tests.Test class name, ornullif this is neither a single test, nor a suite constructed for a test class.booleanisSuite()Is it a test suite?booleanisTest()Is it a single test?Test method name, ornullif this is not a single test.name()Display name of the test.Class<?> Test class, ornullif this is neither a single test, nor a suite constructed for a test class..intNumber of single, 'atomic' tests encapsulated by the described test.
-
Constructor Details
-
JUnit5TestWebTestDescription
public JUnit5TestWebTestDescription(org.junit.platform.launcher.TestIdentifier identifier)
-
-
Method Details
-
name
Description copied from interface:WebTestDescriptionDisplay name of the test.- Specified by:
namein interfaceWebTestDescription- Returns:
- name of the test
-
className
Description copied from interface:WebTestDescriptionTest class name, ornullif this is neither a single test, nor a suite constructed for a test class.- Specified by:
classNamein interfaceWebTestDescription- Returns:
- test class name
-
methodName
Description copied from interface:WebTestDescriptionTest method name, ornullif this is not a single test.- Specified by:
methodNamein interfaceWebTestDescription- Returns:
- method name
-
testClass
Description copied from interface:WebTestDescriptionTest class, ornullif this is neither a single test, nor a suite constructed for a test class..- Specified by:
testClassin interfaceWebTestDescription- Returns:
- test class
-
annotations
Description copied from interface:WebTestDescriptionList of annotations of the test.- Specified by:
annotationsin interfaceWebTestDescription- Returns:
- test annotations
-
categories
Description copied from interface:WebTestDescriptionSet of categories describing this test.- Specified by:
categoriesin interfaceWebTestDescription- Returns:
- categories of this test
-
isTest
public boolean isTest()Description copied from interface:WebTestDescriptionIs it a single test?- Specified by:
isTestin interfaceWebTestDescription- Returns:
true, if this description describes a single test
-
isSuite
public boolean isSuite()Description copied from interface:WebTestDescriptionIs it a test suite?- Specified by:
isSuitein interfaceWebTestDescription- Returns:
true, if this description describes a test suite, i.e. whenWebTestDescription.isTest()returnsfalse
-
testCount
public int testCount()Description copied from interface:WebTestDescriptionNumber of single, 'atomic' tests encapsulated by the described test.- Specified by:
testCountin interfaceWebTestDescription- Returns:
- number of single tests within this test.
-
children
Description copied from interface:WebTestDescriptionDescriptions of child tests.- Specified by:
childrenin interfaceWebTestDescription- Returns:
- descriptions of child tests of the described test
-