One part of the application that I am writing uses libusb to communicate with the device, and it is difficult for me to test my code. Is there a framework for creating fake USB devices or another way to mock libusb in order to better automate testing, be able to test on CI, play back boundary cases, etc.?
source share