Class CucumberWorkflowSteps
java.lang.Object
org.chenile.cucumber.workflow.CucumberWorkflowSteps
Cucumber steps to facilitate running tests using Spring MOCK MVC.
These methods automate using the enablement strategy in the workflow They also support the workflow activity framework.
These methods automate using the enablement strategy in the workflow They also support the workflow activity framework.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ApplicationContext(package private) ConfigProviderImpl(package private) String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidthat_a_new_activity_completion_checker_is_added_to_state_in_flow(String activityName, String fromStateId, String toStateId, String flowId) voidthat_a_new_mandatory_activity_is_added_to_state_in_flow(String activityName, String fromStateId, String toStateId, String flowId) voidthat_a_new_optional_activity_is_added_to_state_in_flow(String activityName, String fromStateId, String toStateId, String flowId) voidthat_a_new_state_is_added_to_flow(String stateId, String flowId) voidthat_a_new_transition_is_added_to_state_in_flow(String eventId, String fromState, String toState, String flowId) voidvoidthat_enablement_strategy_is(String beanName) voidthat_enablement_strategy_is_with_prefix(String beanName, String prefix) voidthat_state_in_flow_has_metadata_with_key_value(String stateId, String flowId, String key, String value) voidthat_state_is_disabled(String stateId, String flowId) voidthat_state_is_enabled(String stateId, String flowId) voidthat_transition_for_state_in_flow_is_disabled(String eventId, String stateId, String flowId) voidthat_transition_from_state_in_flow_has_metadata_with_key_value(String eventId, String stateId, String flowId, String key, String value) voidthat_transition_in_state_in_flow_is_enabled(String eventId, String stateId, String flowId)
-
Field Details
-
applicationContext
-
configProvider
ConfigProviderImpl configProvider -
prefix
String prefix
-
-
Constructor Details
-
CucumberWorkflowSteps
public CucumberWorkflowSteps()
-
-
Method Details
-
that_enablement_strategy_is
-
that_enablement_strategy_is_with_prefix
-
that_a_new_mandatory_activity_is_added_to_state_in_flow
-
that_a_new_optional_activity_is_added_to_state_in_flow
-
that_a_new_activity_completion_checker_is_added_to_state_in_flow
@Given("that a new activity completion checker {string} is added from state {string} to state {string} in flow {string}") public void that_a_new_activity_completion_checker_is_added_to_state_in_flow(String activityName, String fromStateId, String toStateId, String flowId) throws Exception - Throws:
Exception
-
that_all_enablements_are_cleared
@Given("that all enablements are cleared") public void that_all_enablements_are_cleared() -
that_a_new_state_is_added_to_flow
-
that_a_new_transition_is_added_to_state_in_flow
-
that_state_is_enabled
-
that_state_is_disabled
-
that_transition_in_state_in_flow_is_enabled
-
that_transition_for_state_in_flow_is_disabled
-
that_state_in_flow_has_metadata_with_key_value
-
that_transition_from_state_in_flow_has_metadata_with_key_value
@Given("that transition {string} from state {string} in flow {string} has metadata with key {string} and value {string}") public void that_transition_from_state_in_flow_has_metadata_with_key_value(String eventId, String stateId, String flowId, String key, String value) throws Exception - Throws:
Exception
-