Expand description
Public testing namespace. Use it for the documented testing API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Downstream-facing test kit for SDK consumers.
Fakes and scripted adapters in this namespace exercise the same public ports, records, and package contracts as production implementations.
Modules§
- approval
- Public approval namespace. Use it for the documented approval API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
- content
- Public content namespace. Use it for the documented content API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
- event
- Public event namespace. Use it for the documented event API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
- extension
- Public extension namespace. Use it for the documented extension API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
- fakes
- Compatibility facade for deterministic fake adapters. Prefer the concrete modules below when a test needs a narrower fake surface.
- hooks
- Public hooks namespace. Use it for the documented hooks API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
- isolation
- Public isolation namespace. Use it for the documented isolation API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
- output_
delivery - Public output delivery namespace. Use it for the documented output delivery API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
- realtime
- Public realtime namespace. Use it for the documented realtime API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
- telemetry
- Public telemetry namespace. Use it for the documented telemetry API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
- tool
- Public tool namespace. Use it for the documented tool API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file.
Structs§
- Deterministic
Clock - In-memory deterministic clock fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Deterministic
IdGenerator - In-memory deterministic id generator fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fake
Content Resolver - In-memory fake content resolver fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fake
Content Store - In-memory fake content store fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fake
Event Conformance Harness - In-memory fake event conformance harness fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fake
Event Sink - In-memory fake event sink fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fake
Fixture Harness - In-memory fake fixture harness fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fake
Isolation Runtime - In-memory fake isolation runtime fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fake
Journal Store - In-memory fake journal store fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fake
Provider - In-memory fake provider fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fixture
Manifest - In-memory fixture manifest fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Fixture
Manifest Entry - In-memory fixture manifest entry fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Scripted
Approval Dispatcher - In-memory scripted approval dispatcher fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Scripted
Extension Action Executor - In-memory scripted extension action executor fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Scripted
Hook Executor - In-memory scripted hook executor fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Scripted
Output Sink - In-memory scripted output sink fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Scripted
Realtime Adapter - In-memory scripted realtime adapter fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Scripted
Telemetry Sink - In-memory scripted telemetry sink fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Scripted
Tool Executor - In-memory scripted tool executor fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Stored
Content - In-memory stored content fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
- Stored
Content Manifest Entry - In-memory stored content manifest entry fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
Constants§
- FIXTURE_
SCHEMA_ VERSION - Constant value for the testing::fakes contract. Use it to keep SDK records and tests aligned on the same stable value.
Functions§
- normalize_
json_ value - Returns normalize json value for the current value. This is a read-only or data-construction helper unless the method body explicitly calls a port or store.
- read_
fixture - Read fixture. This reads and parses normalized JSON from the caller-provided fixture path on disk.
- write_
fixture - Write fixture. This writes normalized JSON to the caller-provided fixture path on disk.