Repository navigation
Add support for flutter_test_config.dart - #17141
Merged
Merged
Conversation
* Updated contract * Added docs * Added tests
Hixie
reviewed
May 1, 2018
| /// such a configuration file, the file will be assumed to have a `main` method | ||
| /// with the following signature: | ||
| /// | ||
| /// ``` |
* Update docs * Make scanning stop when pubspec.yaml is found * Add test
gspencergoog
approved these changes
May 1, 2018
| /// | ||
| /// After the test framework finds a configuration file, it will stop scanning | ||
| /// the directory hierarchy. In other words, the test configuration file that | ||
| /// lives closest to the test file will "win", and all other test configuration |
Contributor
There was a problem hiding this comment.
Instead of "win", use "be the one selected". (Just thinking that the idea of selecting something as being a "win" might be an Americanism, and that if I were using Google Translate to read this, it might make more sense to just say what it means.)
Contributor
DaveShuckerow
pushed a commit
to DaveShuckerow/flutter
that referenced
this pull request
May 14, 2018
This enables support for a `flutter_test_config.dart` configuration file, which will be discovered and handed the responsibility of running the test file (thus allowing it to run pre-test setup on a project level). flutter#16859
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

#16859