flutter_glados 1.1.17 copy "flutter_glados: ^1.1.17" to clipboard
flutter_glados: ^1.1.17 copied to clipboard

A simple testing framework that tries to break your properties. With Flutter support.

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

  });

Example #

See it #

example_test.dart

Try it #

  1. $ cd flutter_glados
  2. $ flutter pub get (needs flutter_test from sdk)
  3. $ cd flutter_glados/example
  4. $ flutter test
1
likes
130
points
74
downloads

Publisher

verified publisherleest.dev

Weekly Downloads

A simple testing framework that tries to break your properties. With Flutter support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, characters, flutter_test, meta, source_gen, test

More

Packages that depend on flutter_glados