Skip to content

Test in flutter template app should be commented out #51636

@collinjackson

Description

@collinjackson

When a developer creates a new Flutter app, there's a test included. Most developers probably don't notice this test and it's immediately going to start failing when they start changing the app. The same applies to plugins.

If we commented out the actual logic of the test code, we could achieve our goal of helping developers learn how to write tests without having failing tests. This would make it easier to tell whether a project that is failing its tests is doing so because it has no tests written or if it has real tests that are broken.

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 teststeam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions