/AWS1/CL_BLDTESTCASE¶
Information about a test case created using a framework such as NUnit or Cucumber. A test case might be a unit test or a configuration test.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_reportarn
TYPE /AWS1/BLDNONEMPTYSTRING
/AWS1/BLDNONEMPTYSTRING
¶
The ARN of the report to which the test case belongs.
iv_testrawdatapath
TYPE /AWS1/BLDSTRING
/AWS1/BLDSTRING
¶
The path to the raw data file that contains the test result.
iv_prefix
TYPE /AWS1/BLDSTRING
/AWS1/BLDSTRING
¶
A string that is applied to a series of related test cases. CodeBuild generates the prefix. The prefix depends on the framework used to generate the tests.
iv_name
TYPE /AWS1/BLDSTRING
/AWS1/BLDSTRING
¶
The name of the test case.
iv_status
TYPE /AWS1/BLDSTRING
/AWS1/BLDSTRING
¶
The status returned by the test case after it was run. Valid statuses are
SUCCEEDED
,FAILED
,ERROR
,SKIPPED
, andUNKNOWN
.
iv_durationinnanoseconds
TYPE /AWS1/BLDWRAPPERLONG
/AWS1/BLDWRAPPERLONG
¶
The number of nanoseconds it took to run this test case.
iv_message
TYPE /AWS1/BLDSTRING
/AWS1/BLDSTRING
¶
A message associated with a test case. For example, an error message or stack trace.
iv_expired
TYPE /AWS1/BLDTIMESTAMP
/AWS1/BLDTIMESTAMP
¶
The date and time a test case expires. A test case expires 30 days after it is created. An expired test case is not available to view in CodeBuild.
iv_testsuitename
TYPE /AWS1/BLDSTRING
/AWS1/BLDSTRING
¶
The name of the test suite that the test case is a part of.
Queryable Attributes¶
reportArn¶
The ARN of the report to which the test case belongs.
Accessible with the following methods¶
Method | Description |
---|---|
GET_REPORTARN() |
Getter for REPORTARN, with configurable default |
ASK_REPORTARN() |
Getter for REPORTARN w/ exceptions if field has no value |
HAS_REPORTARN() |
Determine if REPORTARN has a value |
testRawDataPath¶
The path to the raw data file that contains the test result.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TESTRAWDATAPATH() |
Getter for TESTRAWDATAPATH, with configurable default |
ASK_TESTRAWDATAPATH() |
Getter for TESTRAWDATAPATH w/ exceptions if field has no val |
HAS_TESTRAWDATAPATH() |
Determine if TESTRAWDATAPATH has a value |
prefix¶
A string that is applied to a series of related test cases. CodeBuild generates the prefix. The prefix depends on the framework used to generate the tests.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PREFIX() |
Getter for PREFIX, with configurable default |
ASK_PREFIX() |
Getter for PREFIX w/ exceptions if field has no value |
HAS_PREFIX() |
Determine if PREFIX has a value |
name¶
The name of the test case.
Accessible with the following methods¶
Method | Description |
---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
status¶
The status returned by the test case after it was run. Valid statuses are
SUCCEEDED
,FAILED
,ERROR
,SKIPPED
, andUNKNOWN
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
durationInNanoSeconds¶
The number of nanoseconds it took to run this test case.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DURATIONINNANOSECONDS() |
Getter for DURATIONINNANOSECONDS, with configurable default |
ASK_DURATIONINNANOSECONDS() |
Getter for DURATIONINNANOSECONDS w/ exceptions if field has |
HAS_DURATIONINNANOSECONDS() |
Determine if DURATIONINNANOSECONDS has a value |
message¶
A message associated with a test case. For example, an error message or stack trace.
Accessible with the following methods¶
Method | Description |
---|---|
GET_MESSAGE() |
Getter for MESSAGE, with configurable default |
ASK_MESSAGE() |
Getter for MESSAGE w/ exceptions if field has no value |
HAS_MESSAGE() |
Determine if MESSAGE has a value |
expired¶
The date and time a test case expires. A test case expires 30 days after it is created. An expired test case is not available to view in CodeBuild.
Accessible with the following methods¶
Method | Description |
---|---|
GET_EXPIRED() |
Getter for EXPIRED, with configurable default |
ASK_EXPIRED() |
Getter for EXPIRED w/ exceptions if field has no value |
HAS_EXPIRED() |
Determine if EXPIRED has a value |
testSuiteName¶
The name of the test suite that the test case is a part of.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TESTSUITENAME() |
Getter for TESTSUITENAME, with configurable default |
ASK_TESTSUITENAME() |
Getter for TESTSUITENAME w/ exceptions if field has no value |
HAS_TESTSUITENAME() |
Determine if TESTSUITENAME has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_TESTCASES
¶
TYPES TT_TESTCASES TYPE STANDARD TABLE OF REF TO /AWS1/CL_BLDTESTCASE WITH DEFAULT KEY
.