CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI, or debugging flaky/slow tests. For testify-specific APIs see `samber/cc-skills-golang@golang-stretchr-testify`; for measurement methodology see `samber/cc-skills-golang@golang-benchmark`.

84

1.02x
Quality

82%

Does it follow best practices?

Impact

86%

1.02x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

92%

-4%

Retry with Backoff — Deterministic Timer Tests

synctest for deterministic timer tests

Criteria
Without context
With context

Imports testing/synctest

100%

100%

Uses synctest.Test

100%

100%

Avoids synctest.Run

100%

100%

Uses synctest.Wait

100%

100%

No real time.Sleep in tests

100%

100%

Named subtests

50%

0%

Context cancellation test

100%

100%

Multiple retry scenarios

100%

100%

External test package

100%

100%

70%

String Utility Library — Generate Test Coverage

gotests scaffolding for table-driven tests

Criteria
Without context
With context

gen-tests.sh contains gotests

100%

100%

gotests command targets strutil

100%

100%

Named subtests

100%

100%

Subtests call t.Parallel

0%

0%

Top-level tests parallel

0%

0%

All exported functions tested

100%

100%

Edge cases covered

100%

100%

External test package

0%

0%

96%

8%

Report Generator — CI-Inspectable Test Artifacts

t.ArtifactDir for persistent test output

Criteria
Without context
With context

Uses t.ArtifactDir()

100%

100%

Avoids os.TempDir / t.TempDir for artifacts

100%

100%

Logs artifact path

100%

100%

filepath.Join with ArtifactDir

100%

100%

Named subtests

0%

100%

Generate function tested

100%

100%

Save function tested

100%

100%

Edge cases

100%

100%

External test package

0%

0%

Repository
samber/cc-skills-golang
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.