Closes https://github.com/flutter/flutter/issues/152325. This PR is large due to generate `flutter create --platforms android`. A quick summary: - Moves the integration test from `packages/flutter_driver/test` to `dev/integration_tests` - Created a sample Flutter app that draws a blue rectangle - Forked a subset of `package:flutter_goldens` that will work on the standalone Dart VM - Forked a subset of `goldens.dart` (from `flutter_test`) to `src/native/goldens.dart` (i.e. `matchesGoldenFile`) This ... works locally, but as usual I have no idea if it will work on Skia Gold so let's roll some dice.
Flutter Native Driver
An experiment in adding platform-aware functionality to flutter_driver.
Project tracking: https://github.com/orgs/flutter/projects/154.
We'd like to be able to test, within flutter/flutter (and friends):
- Does a web-view load and render the expected content?
- Unexpected changes with the native OS, i.e. Android edge-to-edge
- Impeller rendering on Android using a real GPU (not swift_shader or Skia)
- Does an app correctly respond to application backgrounding and resume?
- Interact with native UI elements (not rendered by Flutter) and observe output
- Native text/keyboard input (IMEs, virtual keyboards, anything a11y related)
This project is tracking augmenting flutter_driver towards these goals.
If the project is not successful, the experiment will be turned-down and the code removed or repurposed.
Questions? Ask in the #hackers-tests channel on the Flutter Discord or
@matanlurey or @johnmccutchan on GitHub.