umockdev
« Back to VersTracker
Description:
Mock hardware devices for creating unit tests and bug reporting
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: testing mocking hardware development linux
Install: brew install umockdev
About:
Umockdev is a Linux testing framework that creates mock hardware devices in a sandboxed environment. It allows developers to simulate USB, PCI, and other device interactions without physical hardware, making it ideal for unit testing and bug reproduction. The tool intercepts low-level system calls to provide deterministic, repeatable test results.
Key Features:
  • Sandboxed device simulation without root privileges
  • Support for USB, PCI, SCSI, and other device types
  • Record and replay real device interactions
  • Integration with GLib/GObject and standard Linux APIs
Use Cases:
  • Unit testing device drivers and hardware-dependent applications
  • Bug reporting with reproducible device interaction logs
  • CI/CD testing without requiring physical hardware
Alternatives:
  • qemu – Full system emulation vs Umockdev's lightweight device-level mocking
  • libvirt – Virtualization management vs Umockdev's unit test-focused device simulation
Version History
Detected Version Rev Change Commit