StreamData generators tailored for Supertester's concurrent harness.
Summary
Functions
Generates concurrent scenario configs consumable by ConcurrentHarness.from_property_config/3.
Generates sequences of GenServer operations suitable for ConcurrentHarness threads.
Functions
@spec concurrent_scenario(keyword()) :: StreamData.t(map())
Generates concurrent scenario configs consumable by ConcurrentHarness.from_property_config/3.
Options
:operations- Required list passed togenserver_operation_sequence/2:min_threads/:max_threads- Thread bounds (defaults: 2..4):min_ops_per_thread/:max_ops_per_thread:call_timeout_ms,:timeout_ms,:metadata,:mailbox
@spec genserver_operation_sequence( [term() | Supertester.ConcurrentHarness.operation()], keyword() ) :: StreamData.t([Supertester.ConcurrentHarness.operation()])
Generates sequences of GenServer operations suitable for ConcurrentHarness threads.
Options
:default_operation- Tag bare terms as:callor:cast(default::call):min_length/:max_length- Bounds for sequence length