genui_mock 0.1.0 copy "genui_mock: ^0.1.0" to clipboard
genui_mock: ^0.1.0 copied to clipboard

Record, save, and replay GenUI streaming sessions as deterministic, git-diffable JSON fixtures. Test Catalog widgets against real recorded model output with zero network calls.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add genui_mock

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  genui_mock: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:genui_mock/genui_mock.dart';
2
likes
140
points
126
downloads

Documentation

API reference

Publisher

verified publisherjneela.dev

Weekly Downloads

Record, save, and replay GenUI streaming sessions as deterministic, git-diffable JSON fixtures. Test Catalog widgets against real recorded model output with zero network calls.

Repository (GitHub)
View/report issues

Topics

#genui #testing #mocking #fixtures

License

MIT (license)

Dependencies

flutter, genui

More

Packages that depend on genui_mock