Skip to content

feat: dedicated coverage commandΒ #1507

@juan-vgv

Description

@juan-vgv

Description

We could consider adding a new dedicated command to manage coverage in a project:

very_good coverage:

  • returns success if the coverage is above a default threshold (100% I guess?)
  • error if it is below

It should take the usual parameters: --min-coverage, --exclude and the newly added --collect-coverage-from.

Once the CLI can do the job on its own, we could update the Very Good Workflows to use it, and deprecate Very Good Coverage, which would simplify our stack.

To avoid breaking changes, we could set the --coverage flag in very_good test as deprecated until the next major CLI release.

Thoughts?

@omartinma is #418 the issue you were thinking about?

Requirements

  • All CI/CD checks are passing.
  • There is no drop in the test coverage percentage.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

featureA new feature or request

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions