I've been looking into the benefits of unit testing, and verifying code correctness and the added benefit that you'll naturally create loosely coupled code if you do it properly. In other words a unit is as small as one method - not bigger. These seem to be the big 2. I just would like to know if good unit testing will ring-fence code and protect its functionality from other developers code changes (assuming a failed unit test is a failed build). Also is there any other benefits I've overlooked?
Aucun commentaire:
Enregistrer un commentaire