Unverified Commit 1b200726 authored by Filip Hracek's avatar Filip Hracek Committed by GitHub

Update flutter_tools README with tips (#83369)

parent c835ad43
......@@ -73,9 +73,21 @@ $ flutter test
```
The tests in `test/integration.shard` are slower to run than the tests in
`test/general.shard`. They also require the `FLUTTER_ROOT` environment variable
to be set and pointing to the root of the Flutter SDK. To run only the tests in `test/general.shard`, in this
directory run:
`test/general.shard`. Depending on your development computer, you might
want to increase timeouts and limit concurrency.
The integration tests also require the `FLUTTER_ROOT` environment variable
to be set.
The full invocation to run everything might therefore look something like:
```shell
$ FLUTTER_ROOT=~/path/to/flutter-sdk
$ flutter test --timeout 2x --concurrency 1
```
This will take about an hour to complete.
To run only the tests in `test/general.shard` (which takes about a minute),
in this directory run:
```shell
$ flutter test test/general.shard
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment