Skip to main content
Requires Node 20 or later.

Signing in

The key is written to ~/.testorim/config.json with 0600 permissions. In CI, set TESTORIM_API_KEY in the environment instead. It takes precedence over the stored file. Mint a key from Team settings.

Commands

testorim init creates a .testorim.json so you can give saved tests short aliases and run them by name: testorim run checkout.

Flags

Exit codes

That is what makes the CLI a pipeline step: a failing test fails the build, and an infrastructure problem is distinguishable from a real failure.

In GitHub Actions

To test a pull-request preview, pass its URL:
For a repository whose pull requests should always be tested, the GitHub integration is less work, because it resolves the preview URL itself and reports in the PR.

Configuration precedence

  1. CLI flags
  2. TESTORIM_API_KEY / TESTORIM_API_URL in the environment
  3. ~/.testorim/config.json