Module scenario_config

Module scenario_config 

Source
Expand description

Test scenario configuration module for generating SWIFT MT messages

This module simply loads scenario JSON files and passes them to datafake-rs

Structs§

ScenarioConfig
Configuration for scenario file paths

Functions§

find_scenario_by_name
Find and load a specific scenario by name (backward compatibility)
find_scenario_by_name_with_config
Find and load a specific scenario by name with custom configuration
find_scenario_for_message_type
Find and load a scenario for a specific message type (backward compatibility)
find_scenario_for_message_type_with_config
Find and load a scenario for a specific message type with custom configuration
load_scenario_json
Load a scenario configuration from a JSON file