testing library
Test support: a fake car that runs in plain Dart tests.
final car = FakeCarPlatform.install();
await myApp.showCarScreens();
await car.tap('store-1');
expect(TechproCar.instance.topTemplate?.title, 'Main Street');
Classes
- FakeCarPlatform
- A car that lives in memory, for tests.
- TechproCarPlatform
- The native side of techpro_carplay, as seen from Dart.