flutter/packages/flutter_driver/lib/flutter_driver.dart
Yegor Jbanov b0e4559459 add flutter_driver package
This commit contains:

- FlutterDriver API for e2e tests usable in conjunction with package:test
- FlutterDriverExtension to be enabled by the application in order to
  allow an external agent to connect to it and drive user interactions and
  probe into the element tree
- initial implementations of tap, findByValueKey and getText commands (to
  be expanded in future PRs)
2016-02-17 18:02:18 -08:00

39 lines
980 B
Dart

// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// This library provides API to test Flutter applications that run on real
/// devices and emulators.
///
/// The application run in a separate process from the test itself. If you are
/// familiar with Selenium (web), Espresso (Android) or UI Automation (iOS),
/// this is Flutter's version of that.
///
/// This is Flutter's version of Selenium WebDriver (generic web),
/// Protractor (Angular), Espresso (Android) or Earl Gray (iOS).
library flutter_driver;
export 'src/driver.dart' show
FlutterDriver;
export 'src/error.dart' show
DriverError,
LogLevel,
LogRecord,
flutterDriverLog;
export 'src/find.dart' show
ObjectRef,
GetTextResult;
export 'src/health.dart' show
Health,
HealthStatus;
export 'src/message.dart' show
Message,
Command,
ObjectRef,
CommandWithTarget,
Result;