Testing

From Mte90/dotfiles · View interactive version

Testing is an AI agent skill from the GitHub repository Mte90/dotfiles. Standards for unit testing, table-driven tests, and mocking in Golang.

How to use this skill

Skill file

Golang Testing Standards

**Priority: P0 (CRITICAL)**

Principles

Guidelines

TDD Workflow

  1. Red: Write a failing table-driven test case.
  2. Green: Implement logic to pass.
  3. Refactor: Simplify code.

Golden Snippet

See Table-Driven Tests for full template.

Tools

Naming

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.