Skip to content

TestCase

Source code in docs_src/capo_codebuild/types/test_case.py
class TestCase(TypedDict, closed=True):
    report_arn: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p> The ARN of the report to which the test case belongs. </p>"""
    test_raw_data_path: NotRequired["capo_codebuild.types.string.String"]
    """<p> The path to the raw data file that contains the test result. </p>"""
    prefix: NotRequired["capo_codebuild.types.string.String"]
    """<p> 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. </p>"""
    name: NotRequired["capo_codebuild.types.string.String"]
    """<p> The name of the test case. </p>"""
    status: NotRequired["capo_codebuild.types.string.String"]
    """<p> The status returned by the test case after it was run. Valid statuses are <code>SUCCEEDED</code>, <code>FAILED</code>, <code>ERROR</code>, <code>SKIPPED</code>, and <code>UNKNOWN</code>. </p>"""
    duration_in_nano_seconds: NotRequired[
        "capo_codebuild.types.wrapper_long.WrapperLong"
    ]
    """<p> The number of nanoseconds it took to run this test case. </p>"""
    message: NotRequired["capo_codebuild.types.string.String"]
    """<p> A message associated with a test case. For example, an error message or stack trace. </p>"""
    expired: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
    """<p> 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. </p>"""
    test_suite_name: NotRequired["capo_codebuild.types.string.String"]
    """<p>The name of the test suite that the test case is a part of.</p>"""

duration_in_nano_seconds instance-attribute

duration_in_nano_seconds: NotRequired[WrapperLong]

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

expired instance-attribute

expired: NotRequired[Timestamp]

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.

message instance-attribute

message: NotRequired[String]

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

name instance-attribute

name: NotRequired[String]

The name of the test case.

prefix instance-attribute

prefix: NotRequired[String]

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.

report_arn instance-attribute

report_arn: NotRequired[NonEmptyString]

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

status instance-attribute

status: NotRequired[String]

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

test_raw_data_path instance-attribute

test_raw_data_path: NotRequired[String]

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

test_suite_name instance-attribute

test_suite_name: NotRequired[String]

The name of the test suite that the test case is a part of.