ez 0.0.3 copy "ez: ^0.0.3" to clipboard
ez: ^0.0.3 copied to clipboard

A wrapper class around flutter_driver API. Allows you to replace verbose calls like driver.tap(find.byValueKey("my-key")) with ez.tap("my-key")

ez #

A wrapper class around flutter_driver API. Allows you to replace verbose calls like driver.tap(find.byValueKey("my-key")) with ez.tap("my-key")

Getting Started #

Ez ez;
FlutterDriver driver;

// Connect to the Flutter driver before running any tests.
setUpAll(() async {
  driver = await FlutterDriver.connect();
  ez = Ez(driver);
}

now you can write in your tests

await ez.tap("my-key");

while normally you would need to be slighly more verbose

await driver.tap(find.byValueKey("my-key"));

Additionally you can log your tap to console if you call constructor with log: true:

ez = Ez(driver, log: true);
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A wrapper class around flutter_driver API. Allows you to replace verbose calls like driver.tap(find.byValueKey("my-key")) with ez.tap("my-key")

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, flutter_driver, test

More

Packages that depend on ez