ft 0.3.0 ft: ^0.3.0 copied to clipboard
End to end test runner for Flutter projects ideal for integrating on CI/CD workflows.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate ft
Use it
The package has the following executables:
$ ft
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ft
With Flutter:
$ flutter pub add ft
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ft: ^0.3.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ft/adapters/console.dart';
import 'package:ft/adapters/fs.dart';
import 'package:ft/adapters/shell.dart';
import 'package:ft/adapters/xcode.dart';
import 'package:ft/cli.dart';
import 'package:ft/helpers/string.dart';
import 'package:ft/models/path_does_not_exists_exception.dart';
import 'package:ft/models/platform.dart';
import 'package:ft/models/platform_not_implemented_exception.dart';
import 'package:ft/models/runner.dart';
import 'package:ft/models/runtime_exception.dart';
import 'package:ft/models/simulator.dart';