Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

08.2 The beskid test CLI

Discover, filter, and summarize Beskid test items from the command line.

The `beskid dev build test` CLI

The CLI does not care about your feelings. It cares about discovery, skip predicates, and a non-zero exit code when something fails.

Terminal window
beskid dev build test path/to/Harness.bd
beskid dev build test --project path/to/Project.proj

See beskid dev build test reference for full flags (--target, --workspace-member, lockfile modes).

Terminal window
beskid dev build test Src/Harness.bd --include-tag fast --group analysis
beskid dev build test Src/Harness.bd --exclude-tag slow
  • --include-tag — run only tests whose meta.tags contain a tag (repeatable).
  • --exclude-tag — drop tests with matching tags.
  • --group — prefix match on meta.group.
Terminal window
beskid dev build test Src/Harness.bd --json

Buckets: passed, failed, skipped, filtered_out. CI parsers should treat skipped separately from failed—unless your team uses skip as passive-aggressive deletion, in which case fix the culture, not the JSON.

beskid dev build test shares project resolution with beskid dev build compile and beskid dev syntax analyze: same graph, same lockfile story. If resolution fails, no tests run—by design.

Arrange, act, assert