jonataslaw / jonataslaw/get_test

Code coverage report not working properly

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
12
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I've been trying to generate a code coverage report using ``flutter test --coverage`` to generate the ``lcov.info`` file.
The % of lines tested are wrong for me, looks like the ```testController``` tests are not being counted towards the tests.
Anyone else had this problem?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the report with `flutter test --coverage` and inspect the generated `lcov.info`. Compare its results with the `testController` tests and determine whether the reported coverage excludes them. Done means the coverage output accurately reflects those tests, with a regression test if the relevant test entry point can be identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.