Projects/UART test fixtures

uart-fixture-kit

Test your serial parser against broken byte streams, with no hardware attached.

Type
Open-source toolkit
Released
v0.1.0 (pre-release)
Domain
Serial parser testing
Repo
vanovri/uart-fixture-kit
Diagram: Fixture streams → Broken bytes → Virtual-time replay → Parser test result
01 / Problem

Problem

Serial parsers break on real-world byte streams: frames arrive fragmented, malformed or concatenated. Testing that usually needs the hardware attached.

02 / Approach

Approach

FixturesSynthetic UART byte streams
ScenariosFragmented · malformed · concatenated
Virtual timeDeterministic replay
Your parserTested without serial hardware

The kit provides reusable fixtures and a virtual-time replay so parser behaviour can be checked deterministically in ordinary test runs. Built with AI assistance.

03 / Build gallery

Build gallery

04 / Results

Results

Published as a public repository with a v0.1.0 pre-release. No adoption figures are claimed.

05 / Lessons

Lessons

  • It grew out of the UART telemetry work on my EMG thesis, where malformed lines had to be handled safely.
  • Deterministic, hardware-free tests make serial code reviewable.

Navigate with arrow keys. Enter opens a result. Escape closes search.