PiSupply / PaPiRus

Resources for PaPiRus ePaper eInk displays
https://www.pi-supply.com/product/papirus-epaper-eink-screen-hat-for-raspberry-pi/
Other
346 stars 88 forks source link

Feature Request: Unit Tests #114

Open cyberscribe opened 7 years ago

cyberscribe commented 7 years ago

https://python-guide-pt-br.readthedocs.io/en/latest/writing/tests/ or similar For data mocks, consider generating the working good case of each image and saving it, then comparing hashes.

francesco-vannini commented 7 years ago

Unit testing is a wonderful thing and saves a hell of a lot of time making the code less prone to bugs but it is also something that requires a good effort to put in place and a pretty good organisation in terms of how the code is organised and designed. In my opinion we are not there yet and cannot see us getting there any time soon. We can leave this as an improvement but we then need to start prioritising issues because otherwise more urgent ones are simply lost in a long list. Don't mean to sound negative and thanks @cyberscribe for this.