libumockdev0

Hardware mocking testbed for bug reports and regression tests
  https://github.com/martinpitt/umockdev/
  0
  no reviews



Umockdev mocks hardware devices for creating unit tests for libraries and programs that handle linux hardware devices.

this library provides an umockdevtestbed class for running a program or test suite under a test bed with the previously recorded devices loaded.

right now this covers sysfs, uevents, basic support for /dev devices, and recording/mocking usbdevfs ioctls (for ptp/mtp devices).

with this you can simulate particular hardware in virtual environments up to some degree, without needing any particular privileges or disturbing the whole system.

the library supports gobject-introspection and builds a vapi, so that you can also use it with python, javascript, and other languages which support gi, and vala.