Skip to content

Should two tests with the same name be an error? #661

Closed
@skybrian

Description

@skybrian

In the Dart and (soon) Flutter plugins for IDEA, we use --name and --plain-name to identify a test to run within a test file. Some folks on the Flutter team are concerned that users might accidentally write two tests with the same name. Could package:test check for this?

Followup to discussion in:
flutter/flutter#11020

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions