Skip to content

[native_assets_builder] Use ProcessManager and FileSystem #90

Open
@dcharkes

Description

@dcharkes

flutter_tools unit tests are split into hermetic and permeable tests.

The hermetic tests mock the file system and process invocations.

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

No one assigned

    Labels

    P3A lower priority bug or feature requestpackage:hooks_runnertype-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainable

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions