Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Tooling

Tooling

jadpo test

On this page

Run tests.

Run the project's tests in the interpreter, in an order a seed decides, and report each failure with the values in its assertion, what happened instead and the command that reruns it. Without a path, the project is found by walking up to app.jadpo and every test runs; a file runs its tests, a folder the tests under it, and : the test at that line. The project must check without errors first. With --watch, it keeps running: each save reruns the tests the change reaches, through the compiler's graph, within the path, name and kind given. Every recording of the app's own integrations in shared/providers/ is read by its operation's decoders as a test of its own.

usage
jadpo test [path]

Arguments

  • path (optional): A test file, :, or a folder

Flags

  • --name <text>: Run tests whose names contain this text
  • --kind <kind>: Run one kind, such as pure or recording
  • --failed: Rerun the tests that failed last time
  • --seed <n>: Run in the order this seed gives
  • --watch: Rerun the tests each save reaches
  • --keep-failed: Keep a failed test's database to inspect

On every command

  • --json: Print data for tools instead of text
  • --help: Show every flag, with examples
  • --color <when>: Choose when to use colour

jadpo test --json writes one JSON document to standard output instead of text, with the same exit code. The document has schemaVersion, command ("test"), ok, data (what the command produced, null when it failed) and diagnostics (each error with its rule, reason, next and help). A command that needs a terminal refuses --json and names the flags that do the same job.

Examples

shell
# Run every test in the project you are injadpo test# Run the test at line 12 of a file, in the order seed 48213 givesjadpo test domains/planning/libraries/dates.test.jadpo:12 --seed 48213# Rerun the tests that failed last timejadpo test --failed# Rerun the tests each save reaches, until ctrl-cjadpo test --watch# Print the results as data for toolsjadpo test --json

Errors

Markdown for agents: /docs/jadpo-test.md.Built from Jadpo main at a707efb.