Skip to content

Consider adding function/branch coverage to flutter test #108313

@liamappelbe

Description

@liamappelbe

package:coverage now has support for function coverage and branch coverage. Might be worth implementing them in flutter's coverage_collector.dart (behind flags).

Alternatively, we could have coverage_collector.dart just wrap package:coverage. Presumably it's a separate implementation because package:coverage used to be slower, but there have been a lot of improvements to package:coverage, so they might be equivalent now.

Metadata

Metadata

Assignees

Labels

a: tests"flutter test", flutter_test, or one of our testsc: proposalA detailed proposal for a change to Fluttercustomer: castawayr: fixedIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions