Testing topic

Testing

Each capability has an in-memory fake that returns fixed bytes without a network call or an API key. Inject a fake where your code expects a capability, and you can test the surrounding logic offline and deterministically.

Classes

FakeImageGenerator Testing
An in-memory ImageGenerator for tests: no network, deterministic bytes.
FakeMusicGenerator Testing
An in-memory MusicGenerator for tests: no network, deterministic bytes.
FakeSoundEffectGenerator Testing
An in-memory SoundEffectGenerator for tests: deterministic, no network.
FakeSpeechGenerator Testing
An in-memory SpeechGenerator for tests: no network, deterministic bytes.
FakeTextGenerator Testing
An in-memory TextGenerator for tests: returns a fixed completion.
FakeVideoGenerator Testing
An in-memory VideoGenerator for tests: no network, deterministic bytes.