Repository navigation
LBA REQ 053
Proven
Deployment / benchmark (ADR-0033 -- the 2-actor icon-editor grid, tester actor)
The system shall run the ni/labview-icon-editor LUnit suite via g-cli as a benchmark, so a fail-closed gate proves the committed test inventory is correctly derived and cross-plane comparable.
This is the TESTER actor of the operator-directed 2-actor icon-editor grid
(companion to the builder, LBA-REQ-051). The Rust-built g-cli (LBA-REQ-052) runs the
project's real unit tests via g-cli lunit. The LUnit framework is installed from the
project's CORRECT icon-editor-developer.vipc (the developer/test dependency) -- NOT the
CI-runner runner_dependencies.vipc, which needlessly bundles the g-cli VIPM package
(the launcher is built from Rust) and the PowerShell-automation glue.
-
g-cli --lv-ver 2026 --arch 64 lunit -- -r <report.xml> lv_icon_editor.lvprojdiscovers the project's LUnit test classes, runs them, and emits a JUnit report. -
lunitTestBenchmark.mjsrecords the machine-independent test inventory (sortedclass/caseset + suite structure) plus the observed outcomes (passed/failed/errored). -
validateLunitReceiptfails closed unless the inventory length matches the total, theresultHashre-derives, the verdict matches the rule, and the digest is intact. - Live evidence: g-cli lunit ran the suite on
lba-golden-- 4 LUnit classes / 25 cases (10 passed, 2 failed, 8 errored, 5 setup/helper), a well-formed 14.7 KB JUnit report in 5.4 s. The 8 errors are window-geometry / INI tests that need a real editor window, unavailable under headless xvfb.
The tester experiments/lunit-test/lunitTestBenchmark.mjs plus its
self-test are gated by lunit-test-benchmark in verify-local-gates and mapped in the
RTM. The benchmark asserts the tester actor EXECUTED the suite + produced a well-formed
report matching its inventory (the machine-independent identity), not that the icon-editor
tests are all green (outcomes are environment-dependent). With builder (LBA-REQ-051) +
tester proven, the 2-actor icon-editor grid is complete. Authored under the
singular-requirement directive (one shall).
experiments/lunit-test/lunitTestBenchmark.mjs; experiments/lunit-test/verify-lunit-test-benchmark.selftest.mjs; experiments/lunit-test/fixtures/lunit-test-benchmark-receipt.json; experiments/verify-local-gates.mjs
Proven