nandi/oripublic Fork 0
76d62ac0da1600e1c208017584c3fa22e54feaa3
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

run-the-tests.md · 24 lines · 892 Bmarkdown Blame HistoryRaw
✨ Workspace panel, selectors, previews, desktop app, sandbox template, resizable file tree, light/dark theme 76d62ac k33g yesterday1# How to run the tests
2
3This guide shows how to run Ori's test suites. It assumes the frontend dependencies are installed (`make deps`).
4
5## Steps
6
71. From the repository root, run everything:
8
9 ```bash
10 make test
11 ```
12
13 This runs the Go suite (`go test ./...`) followed by the frontend suite (`vitest run`). Both must end green.
14
15## Variants
16
17- Backend only: `make test-go` — unit tests for every package plus an end-to-end test that compiles the mock agent, spawns it as a real subprocess and drives a real WebSocket client through a full turn.
18- Frontend only: `make test-ui` — reducer, WebSocket client and component tests under jsdom.
19- With the race detector: `go test -race ./...`.
20- Skipping the end-to-end test (fast feedback): `go test -short ./...`.
21
22## See also
23
24- Where each suite lives and what it covers: [explanation: architecture](../explanation/architecture.md)