testing library

Test doubles for hosts that build on monowave.

The tests of a host must not need a microphone, an audio file, or the C core. For this reason, every seam that monowave exposes has a fake here. Import this library from test/ only. It is deliberately not part of package:monowave/monowave.dart.

Classes

FakeCaptureSession
A CaptureSession that never touches a microphone.
FakeMonowavePlatform
An in-memory MonowavePlatform.
FakePlaybackSession
A PlaybackSession that never opens an audio device.