flutter_pear_test 0.3.1 copy "flutter_pear_test: ^0.3.1" to clipboard
flutter_pear_test: ^0.3.1 copied to clipboard

In-memory fake Pear swarm/worklet for unit-testing flutter_pear apps without radios or real peers.

flutter_pear_test #

In-memory fakes (fake swarm, fake worklet) for unit-testing flutter_pear apps without radios or real peers. See the repository README for the overview.

Pre-1.0, published on pub.dev. The in-memory fake swarm/worklet is implemented and exhaustively tested against every flutter_pear data-structure wrapper (PearStore/PearCore, PearBee, PearDrive, PearPairing, PearBase) — not a scaffold.

This package is platform-agnostic by construction. It's pure Dart with no native code, no radios, and no real peers, so it behaves identically whether your app targets Android, iOS, macOS, Linux, or Windows — and it runs in a plain flutter test with no device, emulator, or bare runtime attached.

The fake conforms to flutter_pear's RPC schema (PearMethod/PearEventName/PearErrorCode in package:flutter_pear/src/schema.dart) — it is a conformance consumer, never a co-author: when the two disagree, the schema wins and the fake is fixed to match.

0
likes
160
points
57
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

In-memory fake Pear swarm/worklet for unit-testing flutter_pear apps without radios or real peers.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_pear, flutter_pear_bare

More

Packages that depend on flutter_pear_test