tenzir-test 1.1.0__tar.gz → 1.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/PKG-INFO +1 -1
- tenzir_test-1.1.1/changelog/releases/v1.1.1/entries/improved-cli-help-with-examples-and-documentation.md +13 -0
- tenzir_test-1.1.1/changelog/releases/v1.1.1/manifest.yaml +4 -0
- tenzir_test-1.1.1/changelog/releases/v1.1.1/notes.md +11 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/pyproject.toml +1 -1
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/cli.py +32 -1
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/.gitignore +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/LICENSE +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/README.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/config.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.11.0/entries/01-expose-tenzir-test-as-a-library.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.11.0/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.11.0/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.12.0/entries/01-honor-no-color-for-python-api-consumers.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.12.0/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.12.0/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.13.0/entries/01-improve-diagnostics-when-tenzir-node-fails-to-start.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.13.0/entries/01-library-mode-and-package-dirs.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.13.0/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.13.0/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.13.1/entries/strip-root-paths-from-diff-runner-output.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.13.1/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.13.1/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.14.0/entries/inline-test-inputs-and-local-inputs-directories.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.14.0/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.14.0/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.15.0/entries/verbose-output-flag-for-test-results.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.15.0/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v0.15.0/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.0.0/entries/auto-detect-tenzir-binary-with-uvx-fallback.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.0.0/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.0.0/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.0.1/entries/tuple-unpacking-in-diff-runner-for-multi-word-commands.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.0.1/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.0.1/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.0.2/entries/debug-mode-implies-verbose-output.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.0.2/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.0.2/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.1.0/entries/satellite-projects-show-relative-paths-in-project-listing.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.1.0/entries/stdin-file-support-for-piping-data-to-tests.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.1.0/manifest.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/changelog/releases/v1.1.0/notes.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/README.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/bar/operators/double.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/bar/package.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/bar/test.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/bar/tests/use-foo.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/bar/tests/use-foo.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/foo/operators/increment.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/foo/package.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/foo/test.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/foo/tests/use-bar.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-library/foo/tests/use-bar.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/operators/deeply/nested/twist.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/operators/filter.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/operators/parse.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/package.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/context/01-context-list.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/context/01-context-list.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/context/02-context-update.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/context/02-context-update.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/context/03-context-inspect.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/context/03-context-inspect.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/context/test.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/inputs/sample.log +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/ops.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/ops.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/twist.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/twist.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/README.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/fixtures/README.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/fixtures/__init__.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/fixtures/http.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/fixtures/server.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/inputs/events.ndjson +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/runners/__init__.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/runners/xxd.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/context/01-context-create.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/context/01-context-create.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/context/02-context-update.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/context/02-context-update.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/context/03-context-inspect.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/context/03-context-inspect.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/context/test.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/fail.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/fail.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/hex/hello.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/hex/hello.xxd +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/http-fixture.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/http-fixture.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/lazy.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/lazy.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/local-inputs/inputs/local-data.ndjson +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/local-inputs/read-local.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/local-inputs/read-local.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/node-fixture.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/node-fixture.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/executor-only/sum.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/executor-only/sum.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/executor-with-http-fixture/request.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/executor-with-http-fixture/request.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/executor-with-http-fixture/test.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/executor-with-node-fixture/context-manager.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/executor-with-node-fixture/context-manager.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/fixture-driving/manual_control.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/fixture-driving/manual_control.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/pure-python/flaky_coin.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/pure-python/flaky_coin.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/pure-python/hello_world.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/pure-python/hello_world.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/read-inline-input.input +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/read-inline-input.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/read-inline-input.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/read-inputs.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/read-inputs.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/read-stdin.stdin +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/read-stdin.tql +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/read-stdin.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/exit-code-test.sh +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/exit-code-test.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/http-fixture-check.sh +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/http-fixture-check.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/read-stdin.sh +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/read-stdin.stdin +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/read-stdin.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/stdin-and-input.input +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/stdin-and-input.sh +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/stdin-and-input.stdin +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/stdin-and-input.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/tmp-dir.sh +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/shell/tmp-dir.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/README.md +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/fixtures.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/inputs/input.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/tests/hex/reuse.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/tests/hex/reuse.xxd +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/tests/satellite/input.sh +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/tests/satellite/input.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/tests/satellite/marker.sh +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/tests/satellite/marker.txt +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-satellite/tests/satellite/test.yaml +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/__init__.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/_python_runner.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/config.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/engine/__init__.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/engine/operations.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/engine/registry.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/engine/state.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/engine/worker.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/fixtures/__init__.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/fixtures/node.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/packages.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/py.typed +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/run.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/__init__.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/_utils.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/custom_python_fixture_runner.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/diff_runner.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/ext_runner.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/runner.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/shell_runner.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/tenzir_runner.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/tql_runner.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/tests/test_cli.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/tests/test_config.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/tests/test_engine_operations.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/tests/test_python_runner.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/tests/test_run.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/tests/test_run_config.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/tests/test_runner_registry.py +0 -0
- {tenzir_test-1.1.0 → tenzir_test-1.1.1}/tests/test_shell_runner.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tenzir-test
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: Reusable test execution framework extracted from the Tenzir repository.
|
|
5
5
|
Project-URL: Homepage, https://github.com/tenzir/test
|
|
6
6
|
Project-URL: Repository, https://github.com/tenzir/test
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Improved CLI help with examples and documentation
|
|
3
|
+
type: change
|
|
4
|
+
authors:
|
|
5
|
+
- mavam
|
|
6
|
+
- claude
|
|
7
|
+
pr: 12
|
|
8
|
+
created: 2026-02-02T16:39:09.760492Z
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
The help text for the `tenzir-test` command now provides more context and guidance.
|
|
12
|
+
|
|
13
|
+
The command description now explains the baseline comparison behavior and shows how to regenerate baselines with the `--update` flag.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
This release improves the CLI help text with usage examples and a link to the documentation.
|
|
2
|
+
|
|
3
|
+
## 🔧 Changes
|
|
4
|
+
|
|
5
|
+
### Improved CLI help with examples and documentation
|
|
6
|
+
|
|
7
|
+
The help text for the `tenzir-test` command now provides more context and guidance.
|
|
8
|
+
|
|
9
|
+
The command description now explains the baseline comparison behavior and shows how to regenerate baselines with the `--update` flag.
|
|
10
|
+
|
|
11
|
+
*By @mavam and @claude in #12.*
|
|
@@ -11,6 +11,15 @@ import click
|
|
|
11
11
|
from . import __version__, run as runtime
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
class _UnindentedEpilogCommand(click.Command):
|
|
15
|
+
"""Command that renders the epilog without indentation."""
|
|
16
|
+
|
|
17
|
+
def format_epilog(self, ctx: click.Context, formatter: click.HelpFormatter) -> None:
|
|
18
|
+
if self.epilog:
|
|
19
|
+
formatter.write_paragraph()
|
|
20
|
+
formatter.write(self.epilog)
|
|
21
|
+
|
|
22
|
+
|
|
14
23
|
def _normalize_exit_code(value: object) -> int:
|
|
15
24
|
"""Cast arbitrary exit codes to integers."""
|
|
16
25
|
|
|
@@ -22,7 +31,18 @@ def _normalize_exit_code(value: object) -> int:
|
|
|
22
31
|
|
|
23
32
|
|
|
24
33
|
@click.command(
|
|
34
|
+
cls=_UnindentedEpilogCommand,
|
|
25
35
|
context_settings={"help_option_names": ["-h", "--help"]},
|
|
36
|
+
epilog="""\
|
|
37
|
+
Examples:
|
|
38
|
+
tenzir-test Run all tests in the project
|
|
39
|
+
tenzir-test tests/alerts/ Run all tests in a directory
|
|
40
|
+
tenzir-test tests/basic.tql Run a specific test file
|
|
41
|
+
tenzir-test -u tests/new.tql Run test and update its baseline
|
|
42
|
+
tenzir-test -p -k tests/debug/ Debug with output streaming and kept temps
|
|
43
|
+
|
|
44
|
+
Documentation: https://docs.tenzir.com/reference/test-framework/
|
|
45
|
+
""",
|
|
26
46
|
)
|
|
27
47
|
@click.version_option(
|
|
28
48
|
__version__,
|
|
@@ -51,6 +71,7 @@ def _normalize_exit_code(value: object) -> int:
|
|
|
51
71
|
@click.argument(
|
|
52
72
|
"tests",
|
|
53
73
|
nargs=-1,
|
|
74
|
+
metavar="[TEST]...",
|
|
54
75
|
type=click.Path(path_type=Path, resolve_path=False),
|
|
55
76
|
)
|
|
56
77
|
@click.option("-u", "--update", is_flag=True, help="Update reference outputs.")
|
|
@@ -156,7 +177,17 @@ def cli(
|
|
|
156
177
|
verbose: bool,
|
|
157
178
|
all_projects: bool,
|
|
158
179
|
) -> int:
|
|
159
|
-
"""Execute
|
|
180
|
+
"""Execute test scenarios and compare output against baselines.
|
|
181
|
+
|
|
182
|
+
Discovers and runs tests under the project root, comparing actual output
|
|
183
|
+
against reference .txt files. Use --update to regenerate baselines.
|
|
184
|
+
|
|
185
|
+
\b
|
|
186
|
+
TEST paths can be:
|
|
187
|
+
- Individual test files (e.g., tests/basic.tql)
|
|
188
|
+
- Directories to run all tests within (e.g., tests/alerts/)
|
|
189
|
+
- Omitted to run all discovered tests in the project
|
|
190
|
+
"""
|
|
160
191
|
|
|
161
192
|
package_paths: list[Path] = []
|
|
162
193
|
for entry in package_dirs:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/context/03-context-inspect.tql
RENAMED
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-package/tests/context/03-context-inspect.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/context/03-context-inspect.tql
RENAMED
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/context/03-context-inspect.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/local-inputs/inputs/local-data.ndjson
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/pure-python/flaky_coin.py
RENAMED
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/pure-python/flaky_coin.txt
RENAMED
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/pure-python/hello_world.py
RENAMED
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/example-project/tests/python/pure-python/hello_world.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tenzir_test-1.1.0 → tenzir_test-1.1.1}/src/tenzir_test/runners/custom_python_fixture_runner.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|