Skip to content
Merged
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
14 changes: 10 additions & 4 deletions BETA_TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ This page describes the fastest way to test the latest version of DevTools with

If you want to make code changes, follow [contributing guidance](https://github.com/flutter/devtools/blob/master/CONTRIBUTING.md).

## Setup and start
The steps were tested for Mac. They may require adjustments for other platforms.

## Prerequisites

1. [Configure](https://docs.flutter.dev/get-started/install) Dart or Flutter.

2. In your terminal `cd` to a folder where you want to clone devtools, and that does not have subfolder `devtools` yet.
2. Install `jq`: `brew install jq`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this not rather be Homebrew and GitHub CLI as prerequisites assumed for the commands to work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub CLI is not required.
git is required, but it is installed out of the box on mac.
Homebrew is needed only as installer for jq

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need jq?

Copy link
Contributor Author

@polina-c polina-c Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CANDIDATES=$(echo "$RESPONSE" | jq '.[].name' | grep candidate)


## Setup and start

1. In your terminal `cd` to a folder where you want to clone devtools, and that does not have subfolder `devtools` yet.

3. Clone the repo, get needed Flutter version to local folder and start DevTools:
2. Clone the repo, get needed Flutter version to local folder and start DevTools:

```bash
git clone https://github.com/flutter/devtools.git
Expand All @@ -21,7 +27,7 @@ cd devtools/packages/devtools_app
../../tool/flutter-sdk/bin/flutter run -d chrome --dart-define=enable_experiments=true
```

4. Paste the URL of your application (for example [Gallery](https://github.com/flutter/devtools/blob/master/CONTRIBUTING.md#connect-to-application)) to the connection textbox.
3. Paste the URL of your application (for example [Gallery](https://github.com/flutter/devtools/blob/master/CONTRIBUTING.md#connect-to-application)) to the connection textbox.

## Refresh and start

Expand Down