Comparative Case Study Episode 2

London vs. Chicago, Episode 2

By Robert Martin & Sandro Mancuso

71 minJul 2018

This was a very intense session; and I nearly lost it at the end.

We discovered that our concept of unit and acceptance tests differ markedly and we use them for different purposes. Sandro uses acceptance tests to probe the architecture. He uses unit tests to drive the architecture. His acceptance tests do not completely probe behavior. His unit tests do; but at the expense of the fragility imposed by mocks. Will that fragility cause trouble in the end? The benefits are clear; but are the costs worth it?