You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://flutter-dashboard.appspot.com/#/build?repo=engine)
4
-
5
-
Flutter is Google's SDK for crafting beautiful, fast user experiences for
6
-
mobile, web, and desktop from a single codebase. Flutter works with existing
7
-
code, is used by developers and organizations around the world, and is free
8
-
and open source.
9
-
10
3
The Flutter Engine is a portable runtime for hosting
11
4
[Flutter](https://flutter.dev) applications. It implements Flutter's core
12
5
libraries, including animation and graphics, file and network I/O,
@@ -15,16 +8,11 @@ toolchain. Most developers will interact with Flutter via the [Flutter
15
8
Framework](https://github.com/flutter/flutter), which provides a modern,
16
9
reactive framework, and a rich set of platform, layout and foundation widgets.
17
10
18
-
If you want to run/contribute to Flutter Web engine, more tooling can be
19
-
found at [felt](lib/web_ui/README.md#using-felt).
20
-
This is a tool written to make web engine development experience easy.
11
+
More tooling is available to make development experiences easier:
21
12
22
-
If you are new to Flutter, then you will find more general information
23
-
on the Flutter project, including tutorials and samples, on our Web
24
-
site at [Flutter.dev](https://flutter.dev). For specific information
25
-
about Flutter's APIs, consider our API reference which can be found at
26
-
the [docs.flutter.dev](https://docs.flutter.dev/).
The project containing the iOS end-to-end engine test is at [`testing/ios_scenario_app/ios`](../../testing/ios_scenario_app/ios/).
242
237
243
238
This test project is build similarly to a normal debug Flutter app. The Dart
244
239
code is bundled in JIT mode and is brought into Xcode with a `.framework`
245
240
dependency on the prebuilt local engine. It's then installed and executed on a
246
241
simulator via Xcode.
247
242
248
243
Unlike a normal Flutter app, the Flutter framework on the Dart side is a
249
-
lightweight fake at https://github.com/flutter/engine/tree/main/testing/ios_scenario_app/lib
244
+
lightweight fake at [`testing/ios_scenario_app/lib`](../../testing/ios_scenario_app/lib/).
250
245
that implements some of the basic functionalities of `dart:ui` Window rather
251
246
than using the real Flutter framework at `flutter/flutter`.
252
247
@@ -256,35 +251,35 @@ The end-to-end test can be executed by running:
256
251
testing/ios_scenario_app/run_ios_tests.sh
257
252
```
258
253
259
-
Additional end-to-end instrumented tests can be added to https://github.com/flutter/engine/tree/main/testing/ios_scenario_app/ios/Scenarios/ScenariosTests.
254
+
Additional end-to-end instrumented tests can be added to [`testing/ios_scenario_app/ios/Scenarios/ScenariosTests`](../../testing/ios_scenario_app/ios/Scenarios/ScenariosTests/).
260
255
261
256
If supporting logic is needed for the test case, it can be added to the
262
-
Android app under-test in https://github.com/flutter/engine/tree/main/testing/ios_scenario_app/ios/Scenarios/Scenarios
263
-
or to the fake Flutter framework under-test in https://github.com/flutter/engine/tree/main/testing/ios_scenario_app/lib.
257
+
Android app under-test in [`testing/ios_scenario_app/ios/Scenarios/Scenarios`](../../testing/ios_scenario_app/ios/Scenarios/Scenarios/).
258
+
or to the fake Flutter framework under-test in [`testing/ios_scenario_app/lib`](../../testing/ios_scenario_app/lib/).
264
259
265
260
As best practice, favor adding unit tests if possible since end-to-end tests
266
261
are, by nature, non-hermetic, slow and flaky.
267
262
268
263
End-to-end tests on iOS are executed during pre-submit on our CI system when
269
-
submitting PRs to the `flutter/engine` repository.
264
+
submitting PRs.
270
265
271
266
## Dart - dart:ui
272
267
273
-
If you edit `.dart` files in https://github.com/flutter/engine/tree/main/lib/ui,
274
-
you're working on the 'dart:ui' package which is the interface between
275
-
the C++ engine and the Dart Flutter framework.
268
+
If you edit `.dart` files in [`lib/ui`](../../lib/ui/) you're working on the
269
+
`dart:ui` package which is the interface between the C++ engine and the Dart
270
+
Flutter framework.
276
271
277
-
### Unit tests
272
+
### Unit tests (Dart)
278
273
279
-
Dart classes in https://github.com/flutter/engine/tree/main/lib/ui have matching
280
-
unit tests at https://github.com/flutter/engine/tree/main/testing/dart.
274
+
Dart classes in [`lib/ui`](../../lib/ui/) have matching unit tests at
275
+
[`testing/dart`](../../testing/dart/).
281
276
282
277
When editing production files in the 'dart:ui' package, add to or create a
283
278
test file in `testing/dart`.
284
279
285
280
To run the Dart unit tests, use the script:
286
281
287
-
```
282
+
```sh
288
283
testing/run_tests.py --type=dart
289
284
```
290
285
@@ -317,4 +312,4 @@ Assuming your `flutter` and `engine` working directories are siblings, you can r
317
312
318
313
## Web engine
319
314
320
-
Web tests are run via the `felt` command. More details can be found in [lib/web_ui/README.md](https://github.com/flutter/engine/blob/main/lib/web_ui/README.md#hacking-on-the-web-engine).
315
+
Web tests are run via the `felt` command. More details can be found in [lib/web_ui/README.md](../../lib/web_ui/README.md).
0 commit comments