mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-07-19 05:59:30 +00:00
26 lines
813 B
Markdown
26 lines
813 B
Markdown
# Examples
|
|
|
|
Use the app layer first when the test is about an application or composed
|
|
system interface.
|
|
|
|
Canonical app-layer examples:
|
|
|
|
- `kvstore_app_host_convergence`: one local app cluster exposed through
|
|
`AppHost`
|
|
- `openraft_kv_app_host_smoke`: one richer local app cluster exposed through
|
|
`AppHost`
|
|
- `multi_app_typed_stack_smoke`: composed app stack exposing typed child and
|
|
stack handles
|
|
|
|
The older direct `ScenarioBuilder<AppEnv>` examples are still useful for
|
|
backend-specific coverage:
|
|
|
|
- local uniform cluster behavior
|
|
- compose runner behavior
|
|
- k8s runner behavior
|
|
- manual cluster control
|
|
|
|
Do not use those older examples as the pattern for new composed systems. New
|
|
multi-app tests should define an `AppDeployment`, expose typed handles, and run
|
|
through `AppHost::scenario().with_app(...)`.
|