Skip to main content
Execute qualquer Skill no Manus
com um clique

table-driven-test

Estrelas1
Forks0
Atualizado19 de fevereiro de 2026 às 13:10

Table-driven test pattern for writing clean, maintainable, and comprehensive tests. Separate test data (table entries) from test logic to eliminate copy-paste duplication. Use when: (1) writing Go tests with multiple input/output variations, (2) testing pure functions with various combinations, (3) refactoring duplicated test code, (4) adding edge cases and boundary conditions to existing tests, (5) implementing TDD test scenarios that share the same assertion structure. Covers Go-specific patterns (t.Run subtests, parallel execution, cmp.Diff) and language-agnostic principles applicable to any parameterized testing.

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

SKILL.md
readonly