bearing / dosenet-raspberrypi

Raspberry Pi specific software for dosimeters.
MIT License
7 stars 21 forks source link

Comprehensive test suite #82

Open bplimley opened 7 years ago

bplimley commented 7 years ago

There is currently a file, tests.py, that checks some basic operations. However, we have not been adding tests as we add features.

Many of the features can't be tested within python. They would require managing bash scripts and reboots. This may or may not be worth the effort.

In addition, many features can't be tested without coordinating the server-side. To coordinate the server side, a corresponding test script would have to run on the server, and it would listen for TCP on a test port and wait for all the communication expected from the device test. This would require a lot of planning and may or may not be worth the effort, too.