Open cyberscribe opened 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.
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.