Development & integration tests
Run CodeOtter from source and run the Forgejo and Gitea integration test suites.
Running from source
See the Quickstart for pnpm dev, pnpm start and pnpm co:start. Contribution guidelines live in CONTRIBUTING.md.
Integration tests
pnpm -C web build
pnpm test:forgejo
pnpm test:gitea
# Keep a disposable installation running for browser QA:
node test/integration/forges.test.mjs --gitea --serveThe suite needs Docker and .pb/pocketbase (.pb/pocketbase.exe on Windows), or TEST_PB_BIN. It starts Forgejo 15, Gitea 1.24.6 and PocketBase with disposable data, uses a deterministic local model, and never writes to the running CodeOtter installation.
It covers each provider on its own and all three together, including real self-hosted OAuth, token isolation, identical repository names, fork PRs, comment upserts and both storage modes. GitHub CLI and OAuth responses are fixtures; real GitHub OAuth credentials are not used.
Contributing to these docs
These pages live in dharmeshgurnani/codeotter-docs under content/docs. Every page has an Edit on GitHub link, and pull requests are welcome.