elixir-sensors/bmp280

Add mock and test at least happy path of the public API

Closed this issue · 1 comments

Add mock and test at least happy path of the public API

As I attempted this, I have a feeling that it would be more productive to manually test with a real sensor using Livebook. Many functions involve multiple read / write operations. We still could make multiple mocks but it would add complexity to our code. Probably it is not worth it for this particular library.