Habit: Healthy Unit Tests 5 — No Squeezable Tests

A Habit in the Test Untestable Code Change Series

Our promise once you successfully implement Healthy Unit Tests 5 — No Squeezable Tests:

  • you will debug novel bugs by trapping them in a unit test and quickly narrowing to find the cause.
  • you will expose the parts of your design that inhibit reuse and change, so you can fix them.
  • you will have tests that fail independently (each test has exactly one reason to fail).
  • you will not need mocks or dependency injection.

Apply team registration code
Subscribe your team to this habit using one of your organization’s pre-purchased registration codes (see how this works).

Get Started!