How to avoid brittle code
I see unit tests recommended all the time, but in practice I&#x27;ve found them significantly less helpful than integration and acceptance tests. Maybe its just a nomenclature thing? It&#x27;s obvious if you change a &quot;unit&quot; of code, its tests are going to fail. That&#x27;s not terribly helpful while refactoring. What&#x27;s more useful is to find out what else breaks and that&#x27;s where the other tests come in.<p>I&#x27;m not saying that unit tests aren&#x27;t useful. They definitely help for example if you&#x27;re using a dynamic programming language or if you&#x27;re practicing TDD. I would just emphasize a higher priority for integration and acceptance tests.