-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesttestingSomething involves CI/CD and testing in generalSomething involves CI/CD and testing in general
Milestone
Description
Some unit tests can be developed by mocking low level functions or similar approaches, while the others could be executed with always a real device connected (or no device at all to reproduce only that specific behavior).
However, an emulated serial port would be a more standard way to test the code, even if this imply a cross-platform emulation.
After a very brief glance, this Linux library seems well supported and I could give it a chance: https://github.com/martinpitt/umockdev. If this would be really helpful I should find something similar for Windows and macOS.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttestingSomething involves CI/CD and testing in generalSomething involves CI/CD and testing in general