usesmileid_kamera_testing 1.0.6 copy "usesmileid_kamera_testing: ^1.0.6" to clipboard
usesmileid_kamera_testing: ^1.0.6 copied to clipboard

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:usesmileid_kamera_testing/usesmileid_kamera_testing.dart';

await KameraReplayController.install(ReplayFixtureId.pipelineSmoke);
// ... run the flow ...
final trace = await KameraReplayController.trace();
addTearDown(KameraReplayController.reset);
0
likes
140
points
521
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 usesmileid_kamera_testing

Packages that implement usesmileid_kamera_testing