"""
Test Registry API

Zentrales Dashboard fuer alle Tests im Breakpilot-System.
Aggregiert Tests aus allen Services.

Phase 1 Update (2026-02-02):
- PostgreSQL-Integration fuer persistente Speicherung
- Backlog-Management mit Status-Workflow
- Historie und Trends ueber Zeit
"""

from .registry import router
from .database import get_db, get_db_session, init_db
from .repository import TestRepository
from .db_models import (
    TestRunDB,
    TestResultDB,
    FailedTestBacklogDB,
    TestFixHistoryDB,
    TestServiceStatsDB
)

__all__ = [
    "router",
    "get_db",
    "get_db_session",
    "init_db",
    "TestRepository",
    "TestRunDB",
    "TestResultDB",
    "FailedTestBacklogDB",
    "TestFixHistoryDB",
    "TestServiceStatsDB"
]
