Universal principles for writing good tests. These apply regardless of framework, language, or repo — discover and follow your repo's specific testing tools, commands, and conventions from its project configuration, contributor guides, existing test files, CI/CD config, and any repo-level AI skills or rules.
Tests verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't break unless behavior changed.
Good tests exercise real code paths through public APIs. They describe what the system does, not how. A good test reads like a specification — "user can checkout with valid cart" tells you exactly what capability exists. These tests survive refactors because they don't care about internal structure.
Metodologia di sviluppo universale basata sui test e capacità di progettazione dei test. Conoscenze di base per scrivere test focalizzati sul comportamento, strategie di scherno, affettatura verticale ed esecuzione di proiettili traccianti. Caricamento automatico durante la scrittura dei test durante l'implementazione, rivedere il feedback o creare test autonomi. Trigger: scrittura dei test, progettazione dei test, strategia beffarda, qualità dei test, test comportamentali, test di integrazione, test-first, refactoring rosso-verde. Fonte: inkeep/team-skills.