Skip to content

Make E2E use a custom test reporter so that invoking test() will work. #50816

@collinjackson

Description

@collinjackson

Invoking test() won't result in failures being reported.

We could address this with either

  1. Improving documentation
  2. Do something clever with with imports (Dart provides mechanisms for hiding, showing, and aliasing of symbols) to get an app-facing test method that wraps testWidgets without causing compile errors.
  3. Hook into package:test instead of package:flutter_test at a different layer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testsd: api docsIssues with https://api.flutter.dev/f: integration_testThe flutter/packages/integration_test pluginframeworkflutter/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