libZSservicesZSamazonka-codebuildZSamazonka-codebuild
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeBuild.Types.TestCase

Description

 
Synopsis

Documentation

data TestCase Source #

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.

See: newTestCase smart constructor.

Constructors

TestCase' 

Fields

  • durationInNanoSeconds :: Maybe Integer

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

  • status :: Maybe Text

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

  • expired :: Maybe POSIX

    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.

  • prefix :: Maybe Text

    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.

  • name :: Maybe Text

    The name of the test case.

  • testRawDataPath :: Maybe Text

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

  • message :: Maybe Text

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

  • reportArn :: Maybe Text

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

Instances

Instances details
Eq TestCase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.TestCase

Read TestCase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.TestCase

Show TestCase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.TestCase

Generic TestCase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.TestCase

Associated Types

type Rep TestCase :: Type -> Type #

Methods

from :: TestCase -> Rep TestCase x #

to :: Rep TestCase x -> TestCase #

NFData TestCase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.TestCase

Methods

rnf :: TestCase -> () #

Hashable TestCase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.TestCase

Methods

hashWithSalt :: Int -> TestCase -> Int #

hash :: TestCase -> Int #

FromJSON TestCase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.TestCase

type Rep TestCase Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.TestCase

newTestCase :: TestCase Source #

Create a value of TestCase with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:durationInNanoSeconds:TestCase', testCase_durationInNanoSeconds - The number of nanoseconds it took to run this test case.

$sel:status:TestCase', testCase_status - The status returned by the test case after it was run. Valid statuses are SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN.

$sel:expired:TestCase', testCase_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.

$sel:prefix:TestCase', testCase_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.

$sel:name:TestCase', testCase_name - The name of the test case.

$sel:testRawDataPath:TestCase', testCase_testRawDataPath - The path to the raw data file that contains the test result.

$sel:message:TestCase', testCase_message - A message associated with a test case. For example, an error message or stack trace.

$sel:reportArn:TestCase', testCase_reportArn - The ARN of the report to which the test case belongs.

testCase_durationInNanoSeconds :: Lens' TestCase (Maybe Integer) Source #

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

testCase_status :: Lens' TestCase (Maybe Text) Source #

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

testCase_expired :: Lens' TestCase (Maybe UTCTime) Source #

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.

testCase_prefix :: Lens' TestCase (Maybe Text) Source #

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.

testCase_name :: Lens' TestCase (Maybe Text) Source #

The name of the test case.

testCase_testRawDataPath :: Lens' TestCase (Maybe Text) Source #

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

testCase_message :: Lens' TestCase (Maybe Text) Source #

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

testCase_reportArn :: Lens' TestCase (Maybe Text) Source #

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