flutter_pear_test 0.2.1 copy "flutter_pear_test: ^0.2.1" to clipboard
flutter_pear_test: ^0.2.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. What's still outstanding is the physical two-device hardware round trip, deliberately deferred to a final hardware-validation pass; this package's own fakes need no radios or real peers, so that gap doesn't affect using it.

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
0
points
57
downloads

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

unknown (license)

Dependencies

flutter, flutter_pear, flutter_pear_bare

More

Packages that depend on flutter_pear_test