-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
good first issueGood for newcomers to the codebaseGood for newcomers to the codebase
Description
Summary
Two packages have insufficient test coverage:
internal/buildinfo/— 0% coverage, no test file existsinternal/webui/— 53.5% coverage, has some tests but significant gaps
Acceptance criteria
- Create
internal/buildinfo/buildinfo_test.gowith tests for the package - Identify untested code paths in
internal/webui/and add tests to bring coverage above 80% - Follow existing test patterns in the repo (table-driven tests,
testifyassertions) -
make testpasses -
make lintpasses
Context
internal/buildinfo/is a small package that stores build metadata variables — a great starting point for writing a first Go test fileinternal/webui/has 5 source files and 4 existing test files; examine the existing tests inindex_handler_test.go,debug_index_handler_test.go,static_handler_test.go, andwebui_coverage_test.gofor patterns to follow- Use
make coverageto generate an HTML coverage report and identify specific uncovered lines
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomers to the codebaseGood for newcomers to the codebase