Flutter Engine
The Flutter Engine
|
The tests in this directory are written in Dart and run on the Flutter engine, typically testing functionality that is not easily tested with C++ tests or is best tested at a higher level (i.e. importing dart:ui
).
The simplest way to run these tests is using run_tests.py
:
Or, to run a specific test, provide the base file name as --dart-filter
:
Note that the tests are compiled as Dart kernel files, and not run from source, if any changes are made to the tests, you will need to recompile them before running the tests:
To view the outputted golden files locally, you'll need to open the generated output folder, which will vary based on both your current target architecture and the test suite you're running.
For example, for the above test on host_debug_unopt_arm64
: