This is super interesting. I do unit testing on my web stuff, but php and JS are kind of garbage languages so it’s not optional (sorry for the hate, node is cool)
Unit testing on embedded C is new to me.
I had an automated firmware test rig for v3. Most of the layers are probably in china, but I have one or two here. The rig has 8 devices per layer (IO switched through 4051s). There is a script to interrogate the devices and test for the correct output. It’s a bit clunky, but was semi-useful.