mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Add info about new test cases (#23805)
This commit is contained in:
parent
070df5b6b2
commit
01c7081565
@ -67,8 +67,10 @@ The typical cycle for editing a recipe is:
|
|||||||
|
|
||||||
1. Make your edits (probably to files in
|
1. Make your edits (probably to files in
|
||||||
`//chrome_infra/build/scripts/slave/recipes/flutter`).
|
`//chrome_infra/build/scripts/slave/recipes/flutter`).
|
||||||
2. Run `build/scripts/slave/recipes.py --use-bootstrap test train` to
|
2. Update the tests. Run `build/scripts/slave/recipes.py --use-bootstrap test
|
||||||
update expected files
|
train` to update existing expected output to match the new output. Verify
|
||||||
|
completely new test cases by altering the `GenTests` method of the recipe.
|
||||||
|
The recipe is required to have 100% test coverage.
|
||||||
3. Run `build/scripts/slave/recipes.py run flutter/<repo> slavename=<slavename>
|
3. Run `build/scripts/slave/recipes.py run flutter/<repo> slavename=<slavename>
|
||||||
mastername=client.flutter buildername=<buildername> buildnumber=1234` where `<repo>` is one
|
mastername=client.flutter buildername=<buildername> buildnumber=1234` where `<repo>` is one
|
||||||
of `flutter` or `engine`, and `slavename` and `buildername` can be looked up
|
of `flutter` or `engine`, and `slavename` and `buildername` can be looked up
|
||||||
|
Loading…
Reference in New Issue
Block a user