Available on crate feature
testkit only.Expand description
What an implementer of the interface checks a backend with.
conformance runs the template lifecycle on any connected LiveActivity and reports each
rule a backend keeps to be exchangeable with another. MemoryBackend is a backend without a platform, for an
application’s own tests and as the smallest example of an implementation.
Structs§
- Check
- One rule of the interface and whether the backend kept it.
- Memory
Backend - A backend that keeps its activities in memory and shows nothing.
- Report
- The rules
conformancechecked on one backend.
Functions§
- conformance
- Runs the template lifecycle on
liveand reports each rule a backend keeps to be exchangeable with another: one caller, written once, then behaves the same on each. The run ends the activities it starts.