fix: `--min-coverage` does not work when running with `--recursive`
Description
Currently if you run very_good test --min-coverage 100 --recursive it will go through each package it finds and run the tests. But if any of those packages don't have 100% test coverage there won't be an error displaying that.
Here I am running the command at the root of my project:

It finds three packages, which is correct, but all three of them don't have 100% test coverage:
-
umbra_flutter:
-
umbra_core:
-
umbra_cli:
Steps To Reproduce
- Create a repo with two packages, and ensure they don't have full test coverage
- Run
very_good test --min-coverage 100 --recursiveat the root - Tests will succeed but no coverage is reported.
Expected Behavior I expected that I was able to combine these flags together to run all my tests at the highest level and confirm that they all have the coverage I expected.
Related: https://github.com/VeryGoodOpenSource/very_good_cli/issues/383
When running the tests recursively, it should fail fast if one of the packages does not have the min coverage.
Is there any update on this issue?
Is there any update on this issue?
This issue is in our backlog right now and we’ll get to it as soon as we can but we are always happy to review PRs if you have time and are willing to contribute.
@willhlas can you comment on this so we can assign you?
@renancaraujo hello!