Azure / Azure/gocover

Add coverage baseline support for the full option

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
17
Forks
17
Avg merge
1d 14h
Merged PRs (30d)
2

Description

I think the coverage baseline was planned to work with the full mode:
https://github.com/Azure/gocover/blob/main/pkg/gocover/options.go#L30C35-L30C35

So, it would be nice to make it easier integrate with github actions if it had this option for full mode:
`./gocover full --cover-profile=coverage.out --excludes='**/*_mock.gen.go/**' --coverage-baseline=80`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the coverage-baseline option in pkg/gocover/options.go and trace how the full command parses and applies its options. Check the full-mode entry point and existing coverage behavior, then verify that the supplied command works with --coverage-baseline=80 and enforces the baseline for GitHub Actions use.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.