Skip to main content
Back to registry

golang-testing

affaan-m/everything-claude-code

Comprehensive Go testing patterns for writing reliable, maintainable tests following TDD methodology.

Installs1
Install command
npx skills add https://github.com/affaan-m/everything-claude-code --skill golang-testing
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Comprehensive Go testing patterns for writing reliable, maintainable tests following TDD methodology. The standard pattern for Go tests. Enables comprehensive coverage with minimal code. Testing against expected output files stored in testdata/ . DO: DON'T: Remember : Tests are documentation. They show how your code is meant to be used. Write them clearly and keep them up to date. - Writing new Go functions or methods - Adding test coverage to existing code - Creating benchmarks for performance-critical code - Implementing fuzz tests for input validation - Following TDD workflow in Go projects - Write tests FIRST (TDD) - Use table-driven tests for comprehensive coverage - Test behavior, not implementation - Use t.Helper() in helper functions - Use t.Parallel() for independent tests - Clean up resources with t.Cleanup() - Use meaningful test names that describe the scenario - Test private functions directly (test through public API) - Use time.Sleep() in tests (use channels or conditions) - Ignore flaky tests (fix or remove them) - Mock everything (prefer integration tests when possible) - Skip error path testing

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does golang-testing do?

Comprehensive Go testing patterns for writing reliable, maintainable tests following TDD methodology.

Is golang-testing good?

golang-testing does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does golang-testing work with?

golang-testing currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to golang-testing?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install golang-testing?

npx skills add https://github.com/affaan-m/everything-claude-code --skill golang-testing

Related skills

More from affaan-m/everything-claude-code

Related skills

Alternatives in Software Engineering