scenario.actionresultdefinition module¶
Action / expected result definition.
- class ActionResultDefinition¶
Bases:
object
This class describes both an action or an expected result.
- class Type¶
Bases:
StrEnum
Enum that tells whether a user text defines an action or an expected result.
- ACTION = 'ACTION'¶
Action type.
- RESULT = 'RESULT'¶
Expected result type.
- __init__(type, description)¶
- Parameters:
type – Action/result type.
description – User description for this action/result.
Note
As it makes the API convenient, we deliberately shadow the built-in with the
type
parameter.
- type¶
Action/result type.
- description¶
Action/result textual description.
- step¶
Owner step.
Initially set with a void reference. Fixed when
stepdefinition.StepDefinition.addactionsresults()
is called.
- executions¶
Executions.
- __repr__()¶
Canonical string representation.
- __str__()¶
Printable string representation.