stem_adapter_tests library

Classes

BrokerContractFactory
Factory hooks used by the broker contract test suite.
BrokerContractSettings
Settings that tune the broker contract test suite.
LockStoreContractFactory
Factory hooks used by the lock store contract test suite.
LockStoreContractSettings
Settings that tune the lock store contract test suite.
ResultBackendContractFactory
Factory hooks used by the result backend contract test suite.
ResultBackendContractSettings
Settings that tune the result backend contract test suite.
WorkflowStoreContractFactory
Factory hooks used by the workflow store contract test suite.

Functions

runBrokerContractTests({required String adapterName, required BrokerContractFactory factory, BrokerContractSettings settings = const BrokerContractSettings()}) → void
Runs the canonical broker contract test suite for an adapter.
runLockStoreContractTests({required String adapterName, required LockStoreContractFactory factory, LockStoreContractSettings settings = const LockStoreContractSettings()}) → void
Runs contract tests covering the required LockStore semantics.
runResultBackendContractTests({required String adapterName, required ResultBackendContractFactory factory, ResultBackendContractSettings settings = const ResultBackendContractSettings()}) → void
Runs contract tests covering the required ResultBackend semantics.
runWorkflowScriptFacadeTests({required String adapterName, required WorkflowStoreContractFactory factory}) → void
Runs contract tests covering the workflow script facade behavior.
runWorkflowStoreContractTests({required String adapterName, required WorkflowStoreContractFactory factory}) → void
Runs contract tests covering the required WorkflowStore semantics.