-
Notifications
You must be signed in to change notification settings - Fork 60
Home
Martin Pitt edited this page Sep 20, 2013
·
12 revisions
record mock hardware devices for bug reports and regression tests
- The README.rst has an introduction and command line examples
- The script format is documented in docs/script-format.txt
- There are examples in C and Python that show how to build simulated devices from scratch for test suites
- I wrote some blog posts about the introduction (that doesn't provide much over README.rst, though), record/replay of input devices, record/replay of tty devices, and record/replay of Unix sockets.
- The upower test suite mocks batteries, ACs, and UPS devices.
- The gvfs test suite contains ioctl records from a digicam and a phone music player and uses them for regression-testing the PtP and MTP backends.
- Ubuntu's autopkgtest for shotwell uses umockdev to verify gphoto camera photo import into Shotwell with autopilot to drive the UI.
umockdev is pretty much demand driven. When you want to do something new in that area that umockdev doesn't support yet, please check/file a bug. The current Ubuntu Saucy blueprint has some work items related to umockdev which I am working on right now. Also, please feel free to grab me on IRC (pitti on freenode) or send me an email.