Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Add testing hints #39868

Merged
merged 2 commits into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions testing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Engine Testing

This directory contains the infrastructure for running tests on the engine,
which are most often run by Flutter's continuous integration (CI) systems.

The tests themselves are located in other directories, closer to the source for
each platform, language, and variant. For instance, macOS engine unit tests
written in objective C are located in the same directory as the source files,
but with a `Test` suffix added (e.g. "FlutterEngineTest.mm" holds the tests for
"FlutterEngine.mm", and they are located in the same directory).

## Testing the Engine locally

If you are working on the engine, you will want to be able to run tests locally.

In order to learn the details of how do that, please consult the [Flutter Wiki
page](https://github.com/flutter/flutter/wiki/Testing-the-engine) on the
subject.
7 changes: 6 additions & 1 deletion testing/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,12 @@ def run_engine_tasks_in_parallel(tasks):


def main():
parser = argparse.ArgumentParser()
parser = argparse.ArgumentParser(
description='''
In order to learn the details of running tests in the engine, please consult the
Flutter Wiki page on the subject: https://github.com/flutter/flutter/wiki/Testing-the-engine
'''
)
all_types = [
'engine', 'dart', 'benchmarks', 'java', 'android', 'objc', 'font-subset'
]
Expand Down