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
{{ message }}
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+63-40Lines changed: 63 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,15 +40,38 @@ with `gn format`.
40
40
41
41
## Testing
42
42
43
-
The testing policy for contributing to the flutter engine can be found at the [Tree Hygiene Wiki][tree_hygiene_wiki]. The summary is that all PR's to the engine should be tested or have an explicit test exemption.
43
+
The testing policy for contributing to the flutter engine can be found at the
44
+
[Tree Hygiene Wiki][tree_hygiene_wiki]. The summary is that all PR's to the
45
+
engine should be tested or have an explicit test exemption.
44
46
45
-
Because the engine targets multiple platforms the testing infrastructure is fairly complicated. Here are some more resources to help guide writing tests:
47
+
Because the engine targets multiple platforms the testing infrastructure is
48
+
fairly complicated. Here are some more resources to help guide writing tests:
46
49
47
-
-[Testing the engine wiki][testing_the_engine_wiki] - A guide on writing tests for the engine including an overview of the different tests and the different technologies the engine uses.
48
-
-[//testing](./testing) - This is where the `run_tests.py` script is located. All tests will have the ability to be executed with `run_tests.py`.
49
-
-[//ci/builders](./ci/builders) - The JSON files that determine how tests are executed on CI.
50
+
-[Testing the engine wiki][testing_the_engine_wiki] - A guide on writing tests
51
+
for the engine including an overview of the different tests and the different
52
+
technologies the engine uses.
53
+
-[`//testing`](./testing) - This is where the `run_tests.py` script is located.
54
+
All tests will have the ability to be executed with `run_tests.py`.
55
+
-[`//ci/builders`](./ci/builders) - The JSON files that determine how tests are
56
+
executed on CI.
50
57
51
-
Tests will be executed on CI, but some tests will be executed before PR's can be merged (presubmit) and others after they have been merged (postsubmit). Ideally everything would be presubmit but tests that take up more resources are executed in postsubmit.
58
+
Tests will be executed on CI, but some tests will be executed before PR's can be
59
+
merged (presubmit) and others after they have been merged (postsubmit). Ideally
60
+
everything would be presubmit but tests that take up more resources are executed
61
+
in postsubmit.
62
+
63
+
### Skia Gold
64
+
65
+
The Flutter engine uses [Skia Gold][skia_gold] for image comparison tests which fail if:
66
+
67
+
- The image is different from an accepted baseline.
68
+
- An image is not uploaded but is expected to be (see
0 commit comments