Skip to content

Testing

Octipus uses Vitest for its main automated test suite.

CommandScope
npm testMain unit and database projects
npm run typecheckTypeScript checking
npm run lintLint rules
npm run test:integrationIntegration suite against the configured PostgreSQL test service
npm run test:e2eBackend end-to-end coverage
npm run test:webBrowser UI tests
npm run test:acceptanceDeterministic scripted-provider acceptance flow
npm run evalEvaluation harness

Follow docs/TESTING.md for prerequisites and environment variables. Integration tests use a dedicated database and must never target a development or production database.

Test totals change as the suite grows, so a successful run and its commit are stronger evidence than a count copied into documentation. Deterministic acceptance tests validate wiring without proving a live model provider’s quality. Likewise, dry-run red-team checks validate the harness; only configured live runs exercise an actual provider.