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 |
Synopsis
- data TestCaseScenario = TestCaseScenario' {}
- newTestCaseScenario :: TestCaseScenario
- testCaseScenario_failure :: Lens' TestCaseScenario (Maybe Text)
- testCaseScenario_status :: Lens' TestCaseScenario (Maybe TestCaseScenarioStatus)
- testCaseScenario_systemMessage :: Lens' TestCaseScenario (Maybe Text)
- testCaseScenario_testCaseScenarioId :: Lens' TestCaseScenario (Maybe Text)
- testCaseScenario_testCaseScenarioType :: Lens' TestCaseScenario (Maybe TestCaseScenarioType)
Documentation
data TestCaseScenario Source #
Provides test case scenario.
See: newTestCaseScenario
smart constructor.
TestCaseScenario' | |
|
Instances
newTestCaseScenario :: TestCaseScenario Source #
Create a value of TestCaseScenario
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:failure:TestCaseScenario'
, testCaseScenario_failure
- Provides test case scenario failure result.
$sel:status:TestCaseScenario'
, testCaseScenario_status
- Provides the test case scenario status. Status is one of the following:
PASS
: Test passed.FAIL
: Test failed.PENDING
: Test has not started running but is scheduled.RUNNING
: Test is running.STOPPING
: Test is performing cleanup steps. You will see this status only if you stop a suite run.STOPPED
Test is stopped. You will see this status only if you stop a suite run.PASS_WITH_WARNINGS
: Test passed with warnings.ERORR
: Test faced an error when running due to an internal issue.
$sel:systemMessage:TestCaseScenario'
, testCaseScenario_systemMessage
-
$sel:testCaseScenarioId:TestCaseScenario'
, testCaseScenario_testCaseScenarioId
- Provides test case scenario ID.
$sel:testCaseScenarioType:TestCaseScenario'
, testCaseScenario_testCaseScenarioType
- Provides test case scenario type. Type is one of the following:
- Advanced
- Basic
testCaseScenario_failure :: Lens' TestCaseScenario (Maybe Text) Source #
Provides test case scenario failure result.
testCaseScenario_status :: Lens' TestCaseScenario (Maybe TestCaseScenarioStatus) Source #
Provides the test case scenario status. Status is one of the following:
PASS
: Test passed.FAIL
: Test failed.PENDING
: Test has not started running but is scheduled.RUNNING
: Test is running.STOPPING
: Test is performing cleanup steps. You will see this status only if you stop a suite run.STOPPED
Test is stopped. You will see this status only if you stop a suite run.PASS_WITH_WARNINGS
: Test passed with warnings.ERORR
: Test faced an error when running due to an internal issue.
testCaseScenario_testCaseScenarioId :: Lens' TestCaseScenario (Maybe Text) Source #
Provides test case scenario ID.
testCaseScenario_testCaseScenarioType :: Lens' TestCaseScenario (Maybe TestCaseScenarioType) Source #
Provides test case scenario type. Type is one of the following:
- Advanced
- Basic