Skip to content

test: consolidate the type-audit round's scattered test files#70

Merged
vt128 merged 1 commit into
masterfrom
consolidate-audit-tests
Jun 12, 2026
Merged

test: consolidate the type-audit round's scattered test files#70
vt128 merged 1 commit into
masterfrom
consolidate-audit-tests

Conversation

@vt128

@vt128 vt128 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Why

The type-coverage audit round (#62#69) added many small single-purpose test files. This folds them into thematic homes — no test logic changes (verified: 210 → 210 test funcs, full suite green). Net −11 files (35 → 24).

Consolidation

Black-box (convert_test):

absorbed into
identity_key_test hashable_test (map keys)
decorate_key_test order_test (key ordering)
func_pointer_test panics_test (panic prevention)
gointerface_nil_test interface_test (GoInterface)
collection_elem_test + uintptr_test checked_conv_test (checked conversion)
typed_nil_test + low_misc_test review_misc_test (misc)

White-box (convert): stable_key_test + truth_nilable_testinternal_test
Root (starlight): eval_nil_reader_teststarlight_test

Pure test reorganization. Full suite -race -count=2; Go 1.19 via Docker.

🤖 Generated with Claude Code

The type-coverage audit round (#62-#69) added many small single-purpose
test files. Fold them into thematic homes without changing any test
logic (verified: 210 -> 210 test funcs, full suite green). Net -11 files
(35 -> 24).

Black-box (convert_test):
- identity_key      -> hashable_test (map keys)
- decorate_key      -> order_test (key ordering)
- func_pointer      -> panics_test (panic prevention)
- gointerface_nil   -> interface_test (GoInterface)
- collection_elem,
  uintptr           -> checked_conv_test (checked conversion)
- typed_nil,
  low_misc          -> review_misc_test (misc)

White-box (convert):
- stable_key,
  truth_nilable     -> internal_test

Root (starlight):
- eval_nil_reader   -> starlight_test

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codacy-production

codacy-production Bot commented Jun 12, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 103 complexity · 2 duplication

Metric Results
Complexity 103
Duplication 2

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation +0.00% coverage variation (-1.00%)
Diff coverage diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (a2f7d0e) 2124 1915 90.16%
Head commit (1231a51) 2124 (+0) 1915 (+0) 90.16% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#70) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.12%. Comparing base (a2f7d0e) to head (1231a51).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #70   +/-   ##
=======================================
  Coverage   87.12%   87.12%           
=======================================
  Files           8        8           
  Lines        1662     1662           
=======================================
  Hits         1448     1448           
  Misses        131      131           
  Partials       83       83           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vt128 vt128 merged commit 2612ecc into master Jun 12, 2026
14 checks passed
@vt128 vt128 deleted the consolidate-audit-tests branch June 12, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant