-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestpackage:hooks_runnertype-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainableInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainable
Milestone
Description
flutter_tools unit tests are split into hermetic and permeable tests.
The hermetic tests mock the file system and process invocations.
- Mocking processes: https://pub.dev/packages/process
- Mocking file system: https://pub.dev/packages/file
The native_assets_builder does not use these abstractions, and will try to read/write the local file system and do process invocations.
This means we cannot write hermetic unit tests for the native assets feature, and that we have to always skip the check for native assets in the hermetic unit tests.
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestpackage:hooks_runnertype-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainableInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainable
Type
Projects
Status
No status