Test Runner — Python Bench Orchestration

The test runner is the Python tool I use to coordinate a test on the test bench. It guides me through the sequence and gathers the evidence needed to understand what happened. The bench is the physical setup; the runner is the software orchestrating a test around it.

Why a Python runner?

Initially I had AI orchestrate the test instruments and bench sequence. That worked, but took too long between steps. The test runner now coordinates the sequence in Python on my Mac, prompting me for physical actions such as turning the ignition on, pressing the brake, selecting forward drive and pressing the throttle.

The VCU still runs the vehicle-control firmware. The runner is the surrounding test tool, not a replacement for that controller.

What gets recorded?

The runner collects CAN bus captures, instrument waveforms and other diagnostic information. The CAN bus sniffers provide independent communications records. Those records can then be compared with VCU logs and analysed through the software and AI workflow.

The November 27 revision added a clearer terminal view of live state and test progress. The aim is to understand what the bench actually did, not just what I hoped it would do.

Where the analysis happens

The runner gathers the records; the software and AI workflow helps interpret them and develop changes. Keeping the repeatable test sequence in Python reduces the time spent waiting for AI to decide each next step, while leaving analysis and engineering review as separate work.

The VCU remains responsible for the vehicle-control behaviour under test. A successful runner sequence is evidence about a particular run, not proof that every operating condition has been covered.

Physical test bench · Component directory · Glossary · Powertrain overview