flutter_glados

Last updated:

0 purchases

flutter_glados Image
flutter_glados Images
Add to Cart

Description:

flutter glados

Fork of https://github.com/MarcelGarus/glados with added support for testing Flutter widgets.
This package specifically adds the ability to call Glados<T>().testWidgets().
For instance:
Glados3<String, int, String>(
any.letter,
any.int,
any.any.letterOrDigits,
).testWidgets('test explanation',
(tester, s, n, s2) async {

// Build some widgets with random values

await tester.pumpAndSettle();

expect(); // Check something

});
copied to clipboard
Example #
See it #
example_test.dart
Try it #

$ cd flutter_glados
$ flutter pub get (needs flutter_test from sdk)
$ cd flutter_glados/example
$ flutter test

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.