diff --git a/src/Sleddog.Blink1.ExplicitTests/BlinkHardwareScannerAttribute.cs b/src/Sleddog.Blink1.ExplicitTests/BlinkHardwareScannerAttribute.cs index 2723714..8a9265e 100644 --- a/src/Sleddog.Blink1.ExplicitTests/BlinkHardwareScannerAttribute.cs +++ b/src/Sleddog.Blink1.ExplicitTests/BlinkHardwareScannerAttribute.cs @@ -12,7 +12,14 @@ public abstract class BlinkHardwareScannerAttribute : FactAttribute protected BlinkHardwareScannerAttribute() { + try + { devices = Hid.Enumerate(VendorId, ProductId); + } + catch + { + Skip = "Failed to load HidApi"; + } } } }