title: 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!
> 
> <cite>*[Your tests as your specs](http://blog.mathieu-leplatre.info/your-tests-as-your-specs.html)* ([cache](/david/cache/9b47ffd334e0f37ebe54377f41dfa4e4/))</cite>

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.