Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 2.52 KB

File metadata and controls

33 lines (25 loc) · 2.52 KB

Example projects

These projects are the public, copyable reference set for runmark. There is intentionally no repo-root sample project anymore; all checked-in references live here. They are also wired into the automated test suite so the examples stay valid and runnable.

Each example intentionally checks in a minimal runmark/artifacts/ skeleton so you can see where local secrets, sessions, and request artifacts live. In normal projects, runmark/artifacts/ should stay Git-ignored apart from the tracked .gitkeep placeholders.

Most examples now point at the bundled demo server out of the box. Start it once in another terminal and leave it running:

runmark demo start
Example What it shows Primary automated coverage
getting-started smallest project that validates, describes, and runs a single request testing/runmark/runmark.examples.test.mjs
multi-env-smoke switching the same run between dev and staging env files testing/runmark/runmark.examples.test.mjs
pause-resume login, secret extraction, parallel reads, pause, artifacts, and resume testing/runmark/runmark.e2e.test.mjs plus testing/runmark/runmark.unit.test.mjs
api-key-body-file $ENV secrets, header auth, body.file, run inputs, and step outputs testing/runmark/runmark.examples.test.mjs
basic-auth-crud basic auth, local secrets, request JSON bodies, and CRUD sequencing testing/runmark/runmark.examples.test.mjs
ecommerce-checkout a multi-step checkout flow with API-key auth, body templates, and extracted IDs testing/runmark/runmark.examples.test.mjs
incident-runbook ops-style parallel diagnostics, a human pause, and a safe resume into mutation testing/runmark/runmark.examples.test.mjs
failure-recovery failed sessions, request history, and retrying work with resume after an upstream recovers testing/runmark/runmark.examples.test.mjs
eval-basic dataset-driven runmark eval run with a small JSONL matrix against the demo server — (covered inline by runmark.e2e.test.mjs eval test)

Then use any example directly with --project-root:

runmark validate --project-root examples/getting-started
runmark describe --run smoke --project-root examples/getting-started
runmark run --run smoke --project-root examples/getting-started