From Compose:
docker compose exec backend pytest -vOn the host (requires the backend virtualenv with bcrypt, celery, git, httpx, etc.):
cd backend && pytest -vNotable suites:
tests/scanners/β analyzers for each supported language, classification, manifests, OSV mapping, registriestests/services/β billing, entitlements, GitHub errors, upgrade impact, migration publish, scan recoverytests/api/β org isolation, OAuth security, healthtests/ai/β untrusted prompt fencing, providerstests/migration_engine/β rule matching and patches
Assertions are not weakened to pass. Network is mocked in unit tests; live OSV/registry calls are not required for CI.
Apply migrations in an integration environment with:
docker compose exec backend alembic upgrade headdocker compose exec frontend npm test
docker compose exec frontend npm run lint
docker compose exec frontend npx tsc --noEmitDo not run npm run build inside the live Compose frontend (next dev). Production verification uses NEXT_DIST_DIR=.next (see frontend/package.json) or Compose:
docker compose -f docker-compose.prod.yml build frontendA raw docker build of frontend/Dockerfile must pass public build-args (localhost is rejected):
docker build -f frontend/Dockerfile \
--build-arg NEXT_PUBLIC_APP_URL=https://app.example.com \
--build-arg NEXT_PUBLIC_API_URL=https://api.example.com \
-t verspect-frontend:local frontendVitest covers changelog/roadmap copy, simulator helpers, job stages, and a few UI units. There is no browser E2E suite in this repository.
A release candidate should have: backend pytest passing in the Docker image, frontend tests + tsc + lint + next build succeeding. Host-venv collection errors from missing optional packages are not a product failure if Compose tests pass.