Search by

archim / testing

unixslayer

Test support for ArchIM modules: Ecotone Lite set up for a module, and contract tests against JSON Schemas

v0.1.0 2026-12-03 19:05 UTC

This package is auto-updated.

Last update: 2026-12-03 19:10:51 UTC


README

Test helpers shared by the modules of ArchIM. A module requires it in require-dev; no library code uses it.

What it provides

  • ArchIM\Testing\FlowTestSupportMother: Ecotone Lite set up for a module's tests, with the shared kernel's converters and infrastructure, in memory unless a test asks for the database or asynchronous endpoints.
  • ArchIM\Testing\JsonSchemaContract: contract tests against the JSON Schemas of a module's messages, which carry their own examples. Relative $refs resolve against the schema's directory.

Documentation

License

Apache License 2.0: see the LICENSE file.