TestCase - AWS CodeBuild

TestCase

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.

Contents

Note

In the following list, the required parameters are described first.

durationInNanoSeconds

The number of nanoseconds it took to run this test case.

Type: Long

Required: No

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.

Type: Timestamp

Required: No

message

A message associated with a test case. For example, an error message or stack trace.

Type: String

Required: No

name

The name of the test case.

Type: String

Required: No

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.

Type: String

Required: No

reportArn

The ARN of the report to which the test case belongs.

Type: String

Length Constraints: Minimum length of 1.

Required: No

status

The status returned by the test case after it was run. Valid statuses are SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN.

Type: String

Required: No

testRawDataPath

The path to the raw data file that contains the test result.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: