Skip to content

Add test variants for unit tests (test(...) method) #115554

@Goddchen

Description

@Goddchen

Use case

I love the variants feature/field of the testWidgets(...) method. I'd also love to have this feature on for unit tests - the test(...)` method.

Proposal

I'm willing to "port" the feature over and create a PR. I just want to know beforehand, if that makes any sense at all or if the work would be pointless, since the PR would not be approved. Maybe the team wants people to simply use testWidgets(...) if they want to use the variants feature, or something like that.

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 Flutterframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions