Skip to content
Back to skills

Test Structure

ASecurity

How to structure Go tests. Use when writing Go unit tests; not for integration tests.

  • 150 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 7, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 7, 2026

npx -y skills add Goldziher/ai-rulez --skill test-structure --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Structure?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Structure
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/goldziher-test-structure/badge)](https://www.skillsdirectory.com/skills/goldziher-test-structure)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-structure
description: "How to structure Go tests. Use when writing Go unit tests; not for integration tests."
---
- Always write table-driven tests with named cases and t.Run.
- Keep fixtures in testdata.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.