record_replay library

Classes

InvocationEvent<T>
Base class for recordable file system invocation events. [...]
LiveRecording
An Recording in progress that can be serialized to disk for later use in ReplayFileSystem. [...]
MethodEvent<T>
A recordable invocation of a method on a file system object.
PropertyGetEvent<T>
A recordable invocation of a property getter on a file system object.
PropertySetEvent<T>
A recordable invocation of a property setter on a file system object.
Recording
A recording of a series of invocations on a FileSystem and its associated objects (File, Directory, IOSink, etc). [...]
RecordingFileSystem
File system that records invocations for later playback in tests. [...]
ReplayFileSystem
A file system that replays invocations from a prior recording for use in tests. [...]

Exceptions / Errors

InvocationException
Exception thrown during replay when an invocation recorded error, but we were unable to find a type-specific converter to deserialize the recorded error into a more specific exception type.
NoMatchingInvocationError
Error thrown during replay when there is no matching invocation in the recording.