archim / testing
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
Requires
- php: ^8.5
- archim/common: ^0.1
- ecotone/ecotone: ^1.328.3
- opis/json-schema: ^2.6
- phpunit/phpunit: ^13.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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 ownexamples. Relative$refs resolve against the schema's directory.
Documentation
- Module conventions: test tiers and where test helpers live.
- Public events: the contract tests of public events and Distributed Bus messages.
License
Apache License 2.0: see the LICENSE file.