Tests et spécifications

A simple way to improve the quality of the tests is to see them as specifications. After all, it makes sense, you add some code for a reason! The tests are not only here to prevent regressions, but also to explicit the expected behaviour of the application!

Your tests as your specs (cache)

Remarque intéressante de Mathieu, je me rends compte que j’utilise de plus en plus les logs comme de la documentation bas niveau dans mon code.