umockdev

Mock hardware devices for unit tests and bug reporting

brewmacoslinux
Try with needOr install directly
Source

About

Mock hardware devices for creating unit tests and bug reporting

Commands

umockdevumockdev-recordumockdev-run

Examples

Record hardware device interactions for later replay$ umockdev-record --output=device.umockdev lsusb
Run a program with mocked devices from a recording$ umockdev-run --device=device.umockdev myprogram
List available mocked devices$ umockdev list