| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeBuild.Types.TestCase
Description
Synopsis
- data TestCase = TestCase' {}
- newTestCase :: TestCase
- testCase_durationInNanoSeconds :: Lens' TestCase (Maybe Integer)
- testCase_expired :: Lens' TestCase (Maybe UTCTime)
- testCase_message :: Lens' TestCase (Maybe Text)
- testCase_name :: Lens' TestCase (Maybe Text)
- testCase_prefix :: Lens' TestCase (Maybe Text)
- testCase_reportArn :: Lens' TestCase (Maybe Text)
- testCase_status :: Lens' TestCase (Maybe Text)
- testCase_testRawDataPath :: 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.
Constructors
| TestCase' | |
Fields
| |
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: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:message:TestCase', testCase_message - A message associated with a test case. For example, an error message or
stack trace.
$sel:name:TestCase', testCase_name - The name of the test case.
$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:reportArn:TestCase', testCase_reportArn - The ARN of the report to which the test case belongs.
$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:testRawDataPath:TestCase', testCase_testRawDataPath - The path to the raw data file that contains the test result.
testCase_durationInNanoSeconds :: Lens' TestCase (Maybe Integer) Source #
The number of nanoseconds it took to run this test case.
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_message :: Lens' TestCase (Maybe Text) Source #
A message associated with a test case. For example, an error message or stack trace.
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_reportArn :: Lens' TestCase (Maybe Text) Source #
The ARN of the report to which the test case belongs.