Unit testing - bitfocus/companion-module-base GitHub Wiki
Unit testing of modules is not very common.
We find it quite hard to test most modules as to do so requires mocking the device connection and the companion side.
If you have any suggestions on mocks, tooling or examples we should provide to make this easier, we are open to suggestions!
Some modules which are known to have some unit tests:
Feel free to add yours here