Skip to content

vyuh_test ​

Test utilities help wait for the platform to reach ready/error and provide a mocked BuildContext. Use them with flutter_test and await disposal between independently initialized platforms.

How the pieces fit together

Package source · Released API

Choose a declaration ​

ReadyCheck · TestBuildContext

ReadyCheck ​

Source

Extension to help with testing platform readiness

dart
extension ReadyCheck on VyuhPlatform

Directly declared public members:

dart
Future<void> getReady(WidgetTester tester);

Waits for the platform to be ready or in error state

TestBuildContext ​

Source

Public declaration in this package.

dart
class TestBuildContext extends Mock implements BuildContext