stem_adapter_tests 0.1.0-alpha.3 copy "stem_adapter_tests: ^0.1.0-alpha.3" to clipboard
stem_adapter_tests: ^0.1.0-alpha.3 copied to clipboard

Shared contract test suites for Stem broker and result backend adapters.

stem_adapter_tests #

Shared contract test suites used by Stem adapter packages to ensure brokers and result backends satisfy the core runtime contract. Intended as a dev dependency for packages like stem_redis, stem_postgres, and custom adapter implementations.

Install #

Add as a dev dependency:

dart pub add --dev stem_adapter_tests

Then invoke the contract suites from your package tests:

import 'package:stem_adapter_tests/stem_adapter_tests.dart';

void main() {
  runBrokerContractTests(
    adapterName: 'MyBroker',
    factory: BrokerContractFactory(create: createBroker),
  );
}

Versioning #

This package follows the same release cadence as the stem runtime.

0
likes
0
points
155
downloads

Publisher

unverified uploader

Weekly Downloads

Shared contract test suites for Stem broker and result backend adapters.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

stem, test

More

Packages that depend on stem_adapter_tests