ReviewOS

also looking at this

zig-utils/zig-test-framework

Unify discovery and programmatic test execution

#23
Merged glennmichael123 wants to merge codex/issue-5-unified-test-pipeline into main
12 files +656 -169
src/lib.zigmodified+10-0
Changes to src/lib.zig
@@ -5,6 +5,7 @@ pub const assertions = ;
55pub const suite = ;
66pub const test_runner = ;
77pub const reporter = ;
8pub const pipeline = ;
89pub const matchers = ;
910pub const mock = ;
1011pub const cli = ;
@@ -79,6 +80,15 @@ pub const JsonReporter = reporter.JsonReporter;
7980pub const TAPReporter = reporter.TAPReporter;
8081pub const JUnitReporter = reporter.JUnitReporter;
8182pub const Colors = reporter.Colors;
83pub const ReporterSet = reporter.ReporterSet;
84
85// Unified execution pipeline
86pub const TestPlan = pipeline.TestPlan;
87pub const PlanItem = pipeline.PlanItem;
88pub const PlanOrigin = pipeline.PlanOrigin;
89pub const ExecutionPolicy = pipeline.ExecutionPolicy;
90pub const LifecycleEvent = pipeline.LifecycleEvent;
91pub const EventStream = pipeline.EventStream;
8292
8393// Matchers
8494pub const Matchers = matchers.Matchers;