Skip to content

About

🍰 A property-based testing framework that tries to break your invariances.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

185 Commits

Folders and files

Repository files navigation

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

Get it

pub.dev

About

🍰 A property-based testing framework that tries to break your invariances.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages