You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bowire test CLI runner with JUnit / SARIF / TTY output #181
Bowire is currently a UI tool. The "shift-left" / "build safer apps through continuous testing" positioning needs a headless surface that runs in CI and emits CI-friendly output (JUnit-XML, SARIF, GitHub annotations). Without it, the workbench stays a one-developer-at-a-time explorer.
Proposal
Add a bowire test CLI subcommand that:
Loads a workspace file (or a specific collection / recording / suite)
Runs every invocation
Evaluates assertions (per the assertion DSL issue)
Aggregates pass/fail/skipped
Emits results in one of:
JUnit-XML (for Jenkins, Azure DevOps, generic CI)
SARIF (for GitHub Code Scanning panels)
GitHub annotations (::error file=...,line=...)
Plain TTY (human-readable summary)
Exits non-zero on any failure (configurable threshold)
bowire test --workspace=./bowire.workspace.json --suite=smoke \
--report=junit --output=junit.xml --fail-on=red
Workspace + collections persist as plain JSON already (#159 Export/Import) — the runner reuses that loader. Environment vars resolve via --env-file or inherited shell vars. Secrets via env vars only (never in checked-in files).
Activity
feat(cli): bowire test runner — flow execution + expectation evaluation
feat(cli): JUnit XML + HTML report output for bowire test
feat(test-cli): SARIF 2.1.0 output + GitHub ::error annotations for b…
feat(test-cli): --env-file + --vars alias for bowire test (#181)
thomas-stegemann commentedon Jul 3, 2026
Progress — the CLI surface of this ticket is now complete:
--junit, both codepaths) — feat(v2.2): bowire test CLI — flow runner + JUnit XML + HTML report (T2) #344--sarif) — 97b2089; envelope follows thebowire scanconventions (checkout-relative artifact URIs, partialFingerprints)::errorannotations (--annotations, opt-in) — 97b2089--env(+ new--varsalias) and--env-file(dotenv-style, repeatable, --env wins) — 6b77c3aStill open before closing:
--workspace-idinput (load a workspace instead of a file)docs/setup/--fail-on)feat(test-cli): --fail-on threshold, --workspace runner, GitHub Actio…
thomas-stegemann commentedon Jul 3, 2026
Shipped. The
bowire testCLI is complete:--junit), SARIF 2.1.0 (--sarif), GitHub::errorannotations (--annotations)--fail-on any|never(82825f4)--env/--vars/--env-file;--workspace <dir>runs a whole git-native workspace (82825f4)packaging/github-action/action.yml, usable asKuestenlogik/Bowire/packaging/github-action@v2docs/setup/ci.md(GitHub Actions + GitLab + contract testing)--workspace-id(by-id against~/.bowirestorage) awaits the storage-flip → tracked in #365.docs(release-notes): v2.2.0 — the Test pillar