forked from firka/flutter
Explain more specifically how to use flutter drive/what it does (#161450)
_Run integration tests for the project_ is not an accurate statement, as there is nothing inherently about `flutter_driver` that is for integration tests (for example, it could be just plain automation, benchmarking, etc). In addition, clarifies what the most common two arguments might be and their defaults. Co-authored-by: Andrew Kolos <andrewrkolos@gmail.com>
This commit is contained in:
@@ -216,7 +216,11 @@ class DriveCommand extends RunCommandBase {
|
||||
|
||||
@override
|
||||
final String description =
|
||||
'Run integration tests for the project on an attached device or emulator.';
|
||||
'Builds and installs the app, and runs a Dart program that connects to '
|
||||
'the app, often to run externally facing integration tests, such as with '
|
||||
'package:test and package:flutter_driver.\n'
|
||||
'\n'
|
||||
'Usage: flutter drive --target <lib/main.dart> --driver <test_driver/main_test.dart>.';
|
||||
|
||||
@override
|
||||
String get category => FlutterCommandCategory.project;
|
||||
|
||||
Reference in New Issue
Block a user