sjstein / tpMonitor

Python monitor script to connect to tpServer
0 stars 0 forks source link

Mock MS5837_BA Sensor #26

Closed carlofazioli closed 4 years ago

carlofazioli commented 4 years ago

Problem

For the purposes of debugging, it is desirable to be able to test changes to tpServer.py and tpMonitor.py without direct access to the MS5837 sensor hardware.

Solution

Develop a 'mock' sensor that exposes an identical set of class methods, which return random or static synthetic data.