Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TestCase = TestCase' {}
- newTestCase :: TestCase
- testCase_durationInNanoSeconds :: Lens' TestCase (Maybe Integer)
- testCase_status :: Lens' TestCase (Maybe Text)
- testCase_expired :: Lens' TestCase (Maybe UTCTime)
- testCase_prefix :: Lens' TestCase (Maybe Text)
- testCase_name :: Lens' TestCase (Maybe Text)
- testCase_testRawDataPath :: Lens' TestCase (Maybe Text)
- testCase_message :: Lens' TestCase (Maybe Text)
- testCase_reportArn :: Lens' TestCase (Maybe Text)
Documentation
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.
TestCase' | |
|
Instances
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_testRawDataPath :: Lens' TestCase (Maybe Text) Source #
The path to the raw data file that contains the test result.