class TestCaseInstance
Package: swiss.avm.up.core.generic.testing.javamodel.TestCaseInstance
Direct Known Subclasses:
class TestCaseInstance extends NamedResource
A test case instance is an instance of a test case type. When instantiating, the controller instances to be tested must be specified.
Properties
InstanceId
unique testCaseInstance id
IntegerLiteral[1..1]
A literal which accepts 32-bit integral number values.
controllerInstance
Instance of the controller to be tested.
TestTreeElementInstanceSelector[1..1]
followingTest
defines the next test case in the sequence to be executed after the current test case has finished
(i) see also failAllOnFailure in config/upact/testTargetConfig
TestCaseInstance[0..1]
A test case instance is an instance of a test case type. When instantiating, the controller instances to be tested must be specified.
name
The name of this Resource.
StringLiteral[1..1]
parameterArgument
ActionWithArgumentParameter[1..1]
parameterCommon
ActionWithCommonParameter[1..1]
parameterTest
ActionWithTestValueParameter[1..1]
testCase
TestCase[1..1]
A test case in a test framework serves as the smallest, atomic unit for testing a specific functionality or aspect of an application. It contains one or more test actions that define specific conditions, actions and expected results. The TestCase is used to ensure that individual parts of the application function as intended. It isolates the code to be tested from other parts of the application in order to achieve accurate and consistent results. By executing TestCases, developers can recognise and correct errors at an early stage, which contributes to the stability and quality of the software.
testFailed
Following test case if any previous test failed.
TestCaseInstance[0..1]
A test case instance is an instance of a test case type. When instantiating, the controller instances to be tested must be specified.
Method Summary
getAllTestCaseInstance
@TestingFunctionSpace
Return:
List<TestCaseInstance>
getFollowingTestCaseFailed
Parameters:
TestSuite
SuiteSelect
getId
Return:
IntegerLiteral
getMaxId
@TestingFunctionSpace
Return:
IntegerLiteral
getName
@FName
getOrder
@FJUnitTesting
Parameters:
TestSuite
Return:
IntegerLiteral
getTestCaseInstanceRecursive
@FJUnitTesting
Return:
List<TestCaseInstance>
indexOf
@TestingFunctionSpace
Return:
IntegerLiteral