vector icon indicating copy to clipboard operation
vector copied to clipboard

Calculate vector unit test coverage

Open nitrocode opened this issue 1 year ago • 0 comments

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

https://vector.dev/docs/reference/configuration/unit-tests/

Id like to set thresholds of unit test coverage such as 10% or 20% so when new vector configs are added without tests, if the coverage falls below the threshold, then the PR would be unable to be merged until the coverage is above the minimum again.

Attempted Solutions

N/A

Proposal

Allow calculating coverage as a percentage

References

  • https://github.com/vectordotdev/vector/discussions/21552

Version

No response

nitrocode avatar Oct 19 '24 02:10 nitrocode