# Testing Paperclip

> Paperclip-Testing-Strategie — Vitest, Plugin-Test-Harness aus @paperclipai/plugin-sdk/testing, echte Postgres-Integration-Tests, Cross-Tenant-Isolation. Verwenden Sie dies beim Schreiben oder Reviewen von Paperclip-Tests.

- Skill: `thebeardedbearsas/testing-paperclip` (Agent Skill)
- Install (CLI): `npx skillmds@latest add thebeardedbearsas/testing-paperclip`
- Raw SKILL.md: https://api.skillmd.com/api/skills/thebeardedbearsas/testing-paperclip/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: TheBeardedBearSAS (https://skillmd.com/u/thebeardedbearsas)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/thebeardedbearsas/testing-paperclip

---


# Paperclip-Testing

Vitest (Unit + Integration + Coverage); Plugin-Tests verwenden `createTestHarness` aus `@paperclipai/plugin-sdk/testing`; Integration-Tests treffen echtes Postgres (niemals gemockt); Cross-Tenant-Isolation-Tests pro Server-Modul erforderlich; Coverage ≥ 80% global und strenger auf governance-kritischen Pfaden (agents, approvals, costs).

Siehe ../../rules/07-testing-paperclip.md für ausführliche Dokumentation.

