Mock hardware devices for creating unit tests and bug reportinghttps://github.com/martinpitt/umockdev/
umockdev mocks Linux devices for creating integration tests for hardware
related libraries and programs. It also provides tools to record the properties
and behaviour of particular devices, and to run a program or test suite under a
test bed with the previously recorded devices loaded.