parent
73b798b260
commit
18293802bd
@ -183,7 +183,7 @@ the `run.dart` command. For example:
|
|||||||
|
|
||||||
# Writing tests
|
# Writing tests
|
||||||
|
|
||||||
A test is a simple Dart program that lives under `bin/tests` and uses
|
A test is a simple Dart program that lives under `bin/tasks` and uses
|
||||||
`package:flutter_devicelab/framework/framework.dart` to define and run a _task_.
|
`package:flutter_devicelab/framework/framework.dart` to define and run a _task_.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
@ -232,7 +232,7 @@ your test edit `manifest.yaml` and add the following in the "tasks" dictionary:
|
|||||||
Where:
|
Where:
|
||||||
|
|
||||||
- `{NAME_OF_TEST}` is the name of your test that also matches the name of the
|
- `{NAME_OF_TEST}` is the name of your test that also matches the name of the
|
||||||
file in `bin/tests` without the `.dart` extension.
|
file in `bin/tasks` without the `.dart` extension.
|
||||||
- `{DESCRIPTION}` is the plain English description of your test that helps
|
- `{DESCRIPTION}` is the plain English description of your test that helps
|
||||||
others understand what this test is testing.
|
others understand what this test is testing.
|
||||||
- `{STAGE}` is `devicelab` if you want to run on Android, or `devicelab_ios` if
|
- `{STAGE}` is `devicelab` if you want to run on Android, or `devicelab_ios` if
|
||||||
|
Loading…
x
Reference in New Issue
Block a user