Skip to content

v0.6.0

Choose a tag to compare

@mavam mavam released this 05 Oct 06:34
· 213 commits to main since this release
e867688

Highlights

  • Satellite projects. Execute multiple projects in one command. Supply the hub via --root and list satellites afterwards (for example tenzir-test --root project-a project-b). Satellites inherit shared fixtures and runners from the root while keeping their own inputs, configs, and scenarios. Invoking tenzir-test with only satellite paths now runs those suites in isolation.
  • Clearer logging. Startup banners list only the projects that will actually execute and use compact ■/□ markers. Each project reports its runner mix, per-project run counts, and multi-project runs finish with a concise aggregate pass/fail/skip line.
  • Polished CLI UX. Relative paths are printed consistently, per-project "entering" and "running" messages were merged, and root defaults no longer trigger unexpectedly when targeting satellites alone.

Example of running the main project with a satellite

Run this from the top-level of this repository:

❯ tenzir-test --root example-project example-satellite
i executing 2 project(s)
i   ■ example-project (example-project)
i   □ example-satellite (example-satellite)
i running 11 tests (44 jobs) in project example-project
i   5× python
i   2× shell
i   3× tenzir (v5.15.0+gc3fc324ae5)
i   1× xxd
✔ tests/hex/hello.xxd
✔ tests/shell/tmp-dir.sh
✔ tests/python/pure-python/hello_world.py
✔ tests/python/fixture-driving/manual_control.py
✔ tests/shell/http-fixture-check.sh
✔ tests/alerts/high-severity.tql
✔ tests/python/executor-only/sum.py
✔ tests/http-fixture-use.tql
✔ tests/python/executor-with-http-fixture/request.py
✔ tests/python/executor-with-node-fixture/context-manager.py
✔ tests/node-fixture-use.tql

┌─────────────┬───────┬────────┐
│ Outcome     │ Count │  Share │
├─────────────┼───────┼────────┤
│ ✔ Passed    │    11 │ 100.0% │
│ ● Skipped   │     0 │   0.0% │
│ ✘ Failed    │     0 │   0.0% │
│ Total tests │    11 │ 100.0% │
└─────────────┴───────┴────────┘

i running 2 tests (44 jobs) in project example-satellite
i   1× shell
i   1× xxd
✔ tests/hex/reuse.xxd
✔ tests/satellite/marker.sh

┌─────────────┬───────┬────────┐
│ Outcome     │ Count │  Share │
├─────────────┼───────┼────────┤
│ ✔ Passed    │     2 │ 100.0% │
│ ● Skipped   │     0 │   0.0% │
│ ✘ Failed    │     0 │   0.0% │
│ Total tests │     2 │ 100.0% │
└─────────────┴───────┴────────┘
i aggregate totals across 2 projects: 13 tests (passed=13, failed=0, skipped=0)