import Link from 'next/link' export function GuideTab() { return (

Was ist das Test Dashboard?

Das Test Dashboard ist die zentrale Uebersicht fuer alle 260+ Tests im Breakpilot-System. Es aggregiert Tests aus verschiedenen Services (Go, Python, TypeScript) ohne diese physisch zu migrieren. Tests bleiben an ihren konventionellen Orten, werden aber hier zentral ueberwacht und ausgefuehrt. Seit 2026-02 inklusive AI Compliance SDK Unit Tests (Vitest) und E2E Tests (Playwright).

Test-Kategorien

Architektur

{`┌────────────────────────────────────────────────────────────────────┐
│               Admin-v2 Test Dashboard                               │
│               /infrastructure/tests                                 │
├────────────────────────────────────────────────────────────────────┤
│  ┌────────────┐  ┌────────────┐  ┌────────────┐  ┌─────────────┐  │
│  │ Unit Tests │  │ SDK Tests  │  │   BQAS     │  │ E2E Tests   │  │
│  │  (Go, Py)  │  │  (Vitest)  │  │ (LLM/RAG)  │  │ (Playwright)│  │
│  └────────────┘  └────────────┘  └────────────┘  └─────────────┘  │
│        │               │               │               │           │
│        ▼               ▼               ▼               ▼           │
│  ┌──────────────────────────────────────────────────────────────┐ │
│  │                    Test Registry API                          │ │
│  │              /backend/api/tests/registry.py                   │ │
│  └──────────────────────────────────────────────────────────────┘ │
└────────────────────────────────────────────────────────────────────┘

Tests bleiben wo sie sind:
- /consent-service/internal/**/*_test.go
- /backend/tests/test_*.py
- /voice-service/tests/bqas/
- /admin-v2/components/sdk/__tests__/*.test.ts   (Vitest)
- /admin-v2/e2e/specs/*.spec.ts                  (Playwright)`}
        
{/* CI/CD Workflow Anleitung */}

CI/CD Integration

Automatisch (bei jedem Push/PR)

Manuell (Button oder Tag)

Daten-Fluss: Woodpecker CI → POST /api/tests/ci-result → PostgreSQL → Test Dashboard

BQAS Dashboard

Detaillierte BQAS-Metriken und Trend-Analyse

CI/CD Pipelines

Gitea Actions und automatische Test-Planung

) } // --------------------------------------------------------------------------- // Internal helper components // --------------------------------------------------------------------------- function TestCategoryCard({ icon, title, color, description, }: { icon: string title: string color: string description: string }) { const colorMap: Record = { cyan: 'bg-cyan-50 border-cyan-200 text-cyan-800 text-cyan-700', yellow: 'bg-yellow-50 border-yellow-200 text-yellow-800 text-yellow-700', emerald: 'bg-emerald-50 border-emerald-200 text-emerald-800 text-emerald-700', teal: 'bg-teal-50 border-teal-200 text-teal-800 text-teal-700', blue: 'bg-blue-50 border-blue-200 text-blue-800 text-blue-700', orange: 'bg-orange-50 border-orange-200 text-orange-800 text-orange-700', purple: 'bg-purple-50 border-purple-200 text-purple-800 text-purple-700', slate: 'bg-slate-50 border-slate-200 text-slate-800 text-slate-700', indigo: 'bg-indigo-50 border-indigo-200 text-indigo-800 text-indigo-700', } // Build explicit class strings for Tailwind to detect const bgBorder = `bg-${color}-50 border-${color}-200` const titleColor = `text-${color}-800` const descColor = `text-${color}-700` return (
{icon}

{title}

{description}

) } function CIItem({ icon, color, label, detail, }: { icon: string color: 'green' | 'orange' label: string detail: string }) { const iconColor = color === 'green' ? 'text-green-500' : 'text-orange-500' return (
  • {icon} {label} - {detail}
  • ) }