Skip to content

Proposal: Make it easier to write tests without Material #181283

Description

@justinmc

During the Decoupling Framework Tests project, several test utils were created that made it easier to write tests in Widgets and Cupertino without using the Material library. They were placed in utils files in the Widgets test directory, so they can't be used by Flutter app devs, only by the Widgets tests themselves.

We should consider moving some or all of these utils from Widgets to flutter_test in order to make them publicly available to app devs.

List of utils to consider making public:

List of utils that we've decided should not be made public:

None yet!

Related: #177028

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our testsc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions