kamera_testing 1.0.0-beta1 copy "kamera_testing: ^1.0.0-beta1" to clipboard
kamera_testing: ^1.0.0-beta1 copied to clipboard

discontinued
PlatformAndroidiOS

Replay test kit for kamera. A thin controller that drives the native KameraReplay facade over a control MethodChannel for E2E tests. Pixels never cross the bridge — only fixture ids and the machine-re [...]

kamera_testing #

Replay test kit for kamera. A thin controller that drives the native KameraReplay facade over a control MethodChannel from Flutter end-to-end tests: a fixture is installed as the session's frame source, the flow replays it through the real capture pipeline with no camera, and a machine-readable trace is read back. Pixels never cross the bridge — only fixture ids and the trace do.

Not for production apps — this is a dev/test dependency.

Usage #

import 'package:kamera_testing/kamera_testing.dart';

await KameraReplayController.install(ReplayFixtureId.pipelineSmoke);
// ... run the flow ...
final trace = await KameraReplayController.trace();
addTearDown(KameraReplayController.reset);
0
likes
135
points
73
downloads

Documentation

API reference

Publisher

verified publishersmileidentity.com

Weekly Downloads

Replay test kit for kamera. A thin controller that drives the native KameraReplay facade over a control MethodChannel for E2E tests. Pixels never cross the bridge — only fixture ids and the machine-readable trace do.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on kamera_testing

Packages that implement kamera_testing