Skip to main content

Module test_harness

Module test_harness 

Source
Expand description

Independent Arrow conformance checks and nested transport assertions.

Plugin crates enable _test-harness-hegel and supply an independently built canonical Arrow field and array to check_generated. This checks both conversion directions, field inference, default export, and round trips through nested arrays. Use check_arrow for additional explicit targets. Fuzz targets use check_containers with _test-harness, so they do not link Hegel’s native backend under libFuzzer coverage flags.

Hegel suites run 100 cases with at most 32 rows and three extra nesting levels. Failures print a replay blob for #[hegel::reproduce_failure("...")]. Variant transport needs the Parquet Variant plugin, so its suite lives in vortex-parquet-variant.

Structs§

StorageCase
A storage array and its independent Arrow reference, built from the same source draws.

Functions§

check_arrow
Checks extension import, explicit export, round trips, and batch selections.
check_containers
Checks an array at the top level and in every required container.
check_generated
Checks the Arrow contract against a canonical reference and through generated containers.
check_generated_containers
Checks round trips with extra generated struct, list, and fixed-size-list parents.
draw_storage_case
Draws numeric and fixed-size-list storage without invoking Arrow transport.