very_good_test_runner icon indicating copy to clipboard operation
very_good_test_runner copied to clipboard

fix: exclude specific folders from coverage

Open stact opened this issue 8 months ago • 2 comments

Description Hi team, we are not able exclude folders from coverage, I don't know if it's a bug, or For instance we have generated folder that include our localization

`very_good test --coverage --exclude-coverage "lib/l10n/**"``

Steps To Reproduce

  1. On your project folder create dummy folder with some dart files
  2. Open a terminal
  3. "cd" to your flutter project folder
  4. Launch the coverage very_good test --coverage --exclude-coverage "lib/l10n/**"
  5. See the results of the coverage (using vscode flutter coverage extension)

Expected Behavior The folder excluded must be ignored for coverage

Screenshots image

Additional Context Tried also to ignore files directly it's not working too

stact avatar Jun 12 '24 06:06 stact