Set up multiple Local Testing connections for Flutter tests
Run Flutter integration tests across multiple forks and builds at once by setting up a separate Local Testing connection for each.
This feature is available on Android devices only.
You can test multiple forks and builds at the same time by setting up separate Local Testing connections for each. To do so, establish each Local Testing connection using the --local-identifier flag, along with a unique connection name (for instance, Test123).
If you don’t use the --local-identifier flag for each Local Testing connection, the existing connection is cut off and a new one is created.
After establishing Local Testing connections, use the local and localIdentifier parameters when executing your build. The parameters are explained below:
| Parameter | Description | Values |
|---|---|---|
| local | Set this parameter to enable Local Testing for the build. | true or false Default: false |
| localIdentifier | Set this parameter when you use the same account to test multiple applications. It selects a named connection. | string Example: Test123 |
The following request runs a build through the connection named Test123:
Manage multiple Local Testing connections
You can use the Local Testing API to check the status of (or disconnect) active binaries. However, your connections will not show up in the API response unless you establish them using the --enable-logging-for-api flag, as follows:
For the available endpoints, see Manage Local binary instances.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!