Skip to content

step_attributes_interface Class Reference

William Moore edited this page Sep 16, 2024 · 9 revisions
Name Description
Class step_attributes_interface Interface for the step's run-time attributes object.

Class step_attributes_interface

interface class step_attributes_interface;

Interface for the step's run-time attributes object.

When Bathtub runs the user's step definition, Bathtub provisions the step with a run-time step attributes object. The attributes object implements the methods in this step_attributes_interface interface class. The step definition can use these methods to access the step attributes. However, all these methods are more conveniently accessed through the step definition's step_definition_interface methods. The default step_definition_interface implementation delegates to the respective methods here in the step attributes object.

The run-time attributes are in contrast to the static step attributes, which are accessed through a different interface.

Clone this wiki locally