Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Include a command to generate a single coverage report for multi-package apps #804

Open
3ettilina opened this issue Sep 21, 2023 · 0 comments
Labels
feature A new feature or request p2 Important issues not at the top of the work list

Comments

@3ettilina
Copy link

Description
After running very_good test ... --coverage -r there's no easy way of creating a single coverage report with the lcov files that were generated.

Would be great to have a new option to generate a single HTML report file whilst the tests are running and be able to open (manually or automatically) the report afterwards.

Steps To Reproduce

  1. Run very_good test ... --coverage -r
  2. The command generates LCOV files inside each package of the app
  3. There's no in-CLI way to merge them together in a single coverage report file

Expected Behavior

  1. Run something like very_good test ... --coverage **--report** -r
  2. The command generates a single report with all LCOV files generated in each package
  3. Can be opened by simply running open coverage/index.html or having another command option --coverage-open, which does both things (generating and opening) 🤔

Additional Context
Would be great to see (if possible) the HTML report file as:

  • lib
  • packages/api_client
  • packages/app_ui
  • packages/user_repository
  • ...

So we can have the whole coverage of each package in the first page, and then tapping on each of those bullet options we can navigate to the coverage of that package.

@3ettilina 3ettilina added the bug Something isn't working as expected label Sep 21, 2023
@alestiago alestiago added feature A new feature or request and removed bug Something isn't working as expected labels Sep 22, 2023
@alestiago alestiago changed the title fix: Include a command to generate a single coverage report for multi-package apps feat: Include a command to generate a single coverage report for multi-package apps Sep 22, 2023
@BeatriceMitchell BeatriceMitchell moved this from Needs Triage to Backlog in VGV Open Source 🦄 🧙🌟 Oct 9, 2023
@tomarra tomarra added the p2 Important issues not at the top of the work list label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or request p2 Important issues not at the top of the work list
Projects
Status: Backlog
Development

No branches or pull requests

3 participants