16 comments (16 comments)5 reactions (5 reactions)0 assignees (0 assignees)Go2,725 forks (2,725 forks)batch import
exp/novicehelp wantedkind/teststatus/deferred
Repository metrics
- Stars
- 13,906 stars (13,906 stars)
- PR merge metrics
- Avg merge 4d 2h (Avg merge 4d 2h)28 merged PRs in 30d (28 merged PRs in 30d)
Description
In order to make releases more painless, and the code more stable and dependable in general I would like to try and hit a goal of at least 80% coverage (line based) on all packages.
Coverage data for master branch is at: https://codecov.io/gh/ipfs/go-ipfs/tree/master/cmd/ipfs
Contributor guide
- Research direction
- Examine the Codecov report to identify packages with below 80% coverage. For each package, run tests with coverage flag, e.g., 'go test coverprofile=coverage.out ./path/to/pkg', then inspect the generated coverage file to find untested lines or branches. Focus on adding tests that cover edge cases and error paths. Consider using table driven tests for efficiency.
- Tech stack
- go
- Domain
- backendtesting
- Issue type
- Test
- Prerequisites
- Gotesting