dcolli23 / ingreedyents

Optimizes the use of ingredients by ingredient UPC lookup
0 stars 0 forks source link

Implement a virtual serial device to test UPC inputs #14

Closed dcolli23 closed 4 years ago

dcolli23 commented 4 years ago

Description

I need to implement a virtual serial device to mock the input of a UPC read in via the UPC reader device to test inputs.

This StackOverflow answer seems to talk about doing this in Python.

dcolli23 commented 4 years ago

Actually, the UPC scanner that I bought behaves as an HID (Human Input Device), meaning that it behaves like a keyboard. I can skip this testing and just directly test the class I implement to do the UPC lookup via formation of a URL.