flutter_pear_test 0.3.1
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_peardata-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 testwith no device, emulator, orbareruntime 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.