Run Tenzir tests
run_testRun TQL pipeline tests to verify package operators, execute regression suites, update baselines, and debug failures. Supports selective execution with fixtures and passthrough output for comparison.
Instructions
Run tests for TQL pipelines using the tenzir-test framework.
Use this tool to:
Verify package operators work correctly
Run regression tests after making changes
Generate test baselines (with update=True)
Debug failing tests (with passthrough=True)
Tests can include fixtures like embedded Tenzir nodes for integration testing.
The selection parameter accepts files, directories, or an empty list for all tests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No | ||
| root | Yes | Root directory containing the test files | |
| update | No | Update test baselines with new outputs (use with caution) | |
| selection | Yes | List of test files or directories to run (empty list runs all tests) | |
| passthrough | No | Show actual vs expected output for debugging |