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

fix: very_good test does not generate coverage in Dart Frog #1672

Open
AnnaPS opened this issue Jan 16, 2025 · 0 comments
Open

fix: very_good test does not generate coverage in Dart Frog #1672

AnnaPS opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working as expected

Comments

@AnnaPS
Copy link
Contributor

AnnaPS commented Jan 16, 2025

Description

Trying to run very_good test --coverage --min-coverage 100 results in the following.

Image

Finally, I get the coverage report using the following command:

dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=routes && genhtml ./coverage/lcov.info -o coverage --dark-mode && open ./coverage/index.html

Thanks to @alestiago for helping me with this command.

Steps To Reproduce

1- Open a new terminal at the root of the project.
2- Run very_good test --coverage --min-coverage 100

Expected Behavior

It would be nice to have the ability to run a very_good test command to get coverage on a Dart Frog project.

Additional Context

No response

@AnnaPS AnnaPS added the bug Something isn't working as expected label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant