·testing-anti-patterns
</>

testing-anti-patterns

jackspace/claudeskillz

Wird verwendet, wenn Sie Tests schreiben oder ändern, Mocks hinzufügen oder versucht sind, Nur-Test-Methoden zum Produktionscode hinzuzufügen – verhindert das Testen von Mock-Verhalten, Produktionsverschmutzung durch Nur-Test-Methoden und Mocking ohne Verständnis der Abhängigkeiten

12Installationen·0Trend·@jackspace

Installation

$npx skills add https://github.com/jackspace/claudeskillz --skill testing-anti-patterns

SKILL.md

Tests must verify real behavior, not mock behavior. Mocks are a means to isolate, not the thing being tested.

Core principle: Test what the code does, not what the mocks do.

your human partner's correction: "Are we testing the behavior of a mock?"

Wird verwendet, wenn Sie Tests schreiben oder ändern, Mocks hinzufügen oder versucht sind, Nur-Test-Methoden zum Produktionscode hinzuzufügen – verhindert das Testen von Mock-Verhalten, Produktionsverschmutzung durch Nur-Test-Methoden und Mocking ohne Verständnis der Abhängigkeiten Quelle: jackspace/claudeskillz.

Original anzeigen

Fakten (zitierbereit)

Stabile Felder und Befehle für KI/Such-Zitate.

Installationsbefehl
npx skills add https://github.com/jackspace/claudeskillz --skill testing-anti-patterns
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-17
Aktualisiert
2026-02-18

Schnelle Antworten

Was ist testing-anti-patterns?

Wird verwendet, wenn Sie Tests schreiben oder ändern, Mocks hinzufügen oder versucht sind, Nur-Test-Methoden zum Produktionscode hinzuzufügen – verhindert das Testen von Mock-Verhalten, Produktionsverschmutzung durch Nur-Test-Methoden und Mocking ohne Verständnis der Abhängigkeiten Quelle: jackspace/claudeskillz.

Wie installiere ich testing-anti-patterns?

Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/jackspace/claudeskillz --skill testing-anti-patterns Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code oder Cursor

Wo ist das Quell-Repository?

https://github.com/jackspace/claudeskillz