How fikricghuv/testpilot-test-manager works
TestPilot is a self-hosted test-management product: teams organize cases and suites, assemble plans or cycles, record execution outcomes, and inspect project reports. Its backend also supports AI-assisted quality workflows, knowledge retrieval, automation, performance testing, and external integrations. The principal manual workflow is documented in the README; most frontend-to-backend wiring and several listed subsystems were not sampled, so those connections are omitted or marked unverified rather than inferred.
Main entry points: database.service.ts PostgreSQL and pgvector · nyra-review.service.ts Nyra review flow · rag-retrieval.service.ts Knowledge retrieval · legacy.controller.ts Project API
Components 22
Test management
- Case repository
Testpilot-Frontend/app/(app)/projects/[id]/testcases/page.tsx - Project workspace
Testpilot-Frontend/app/(app)/projects/page.tsx - Cycles and runs
Testpilot-Frontend/app/(app)/projects/[id]/cycles/page.tsx - Project API
Testpilot-Backend-Nest/src/legacy/legacy.controller.ts - Project and case services
Testpilot-Backend-Nest/src/legacy/legacy.service.ts
AI and knowledge
- Review board
Testpilot-Frontend/components/agents/ReviewBoard.tsx - Review endpoints
Testpilot-Backend-Nest/src/review-board/review-board.controller.ts - Review analysis
Testpilot-Backend-Nest/src/review-board/review-board.service.ts - Knowledge ingestion
Testpilot-Backend-Nest/src/rag/rag-ingestion.service.ts - Knowledge retrieval
Testpilot-Backend-Nest/src/rag/rag-retrieval.service.ts - Embedding allocation
Testpilot-Backend-Nest/src/rag/rag-ai-allocation.ts - AI evaluation
Testpilot-Backend-Nest/src/ai-eval/ai-eval.types.ts - Nyra review flow
Testpilot-Backend-Nest/src/nyra/nyra-review.service.ts
Test execution
- Browser automation
Testpilot-Backend-Nest/src/automation/automation.controller.ts - Performance testing
Testpilot-Backend-Nest/src/performance-tests/performance-tests.controller.ts
Identity and platform
- PostgreSQL and pgvector
Testpilot-Backend-Nest/src/database/database.service.ts - File storage
Testpilot-Backend-Nest/src/storage/storage.service.ts - Authentication
Testpilot-Backend-Nest/src/auth/auth.controller.ts - Billing
Testpilot-Backend-Nest/src/billing/billing.controller.ts
Integrations and reporting
- Integration sync
Testpilot-Backend-Nest/src/integration-sync/integration-sync.service.ts - Analytics reports
Testpilot-Backend-Nest/src/analytics-report/analytics-report.service.ts
Other components
- QA team member
Connections 18
- QA team member → Case repository: organizes cases
- QA team member → Cycles and runs: records outcomes
- Case repository → Project API: submits case requests
- Cycles and runs → Project API: submits run requests
- Project API → Project and case services: delegates project actions
Testpilot-Backend-Nest/src/legacy/legacy.controller.ts - Review board → Review endpoints: requests decisions
- Review endpoints → Review analysis: delegates review actions
Testpilot-Backend-Nest/src/review-board/review-board.controller.ts - Review analysis → Project and case services: reads test cases
Testpilot-Backend-Nest/src/review-board/review-board.service.ts - Knowledge ingestion → PostgreSQL and pgvector: updates embedding state
Testpilot-Backend-Nest/src/rag/rag-ingestion.service.ts - Knowledge retrieval → PostgreSQL and pgvector: queries knowledge
Testpilot-Backend-Nest/src/rag/rag-retrieval.service.ts - Knowledge retrieval → Embedding allocation: resolves embedding provider
Testpilot-Backend-Nest/src/rag/rag-retrieval.service.ts - Nyra review flow → PostgreSQL and pgvector: reads and writes review data
Testpilot-Backend-Nest/src/nyra/nyra-review.service.ts - Nyra review flow → Project and case services: uses project services
Testpilot-Backend-Nest/src/nyra/nyra-review.service.ts - Nyra review flow → Embedding allocation: checks embedding availability
Testpilot-Backend-Nest/src/nyra/nyra-review.service.ts - Nyra review flow → Knowledge retrieval: uses knowledge context
- File storage → PostgreSQL and pgvector: stores file metadata
- Authentication → QA team member: authenticates
- Integration sync → PostgreSQL and pgvector: persists sync state