I decided to cut back HEY’s system-test suite after it had become brittle and cumbersome. I had kept it running too long because of the sunk cost fallacy, and wanted system tests to become a much smaller part of the testing equation. This connects with my preference for principles of simplicity and simple tools and dependencies.
HEY had “some 300-odd system tests.”
I said, “We're going to cut that number way down.”
I described the suite as “brittle, cumbersome” and said the sunk cost fallacy had kept us running it for too long: “The sunk cost fallacy has kept us running this brittle, cumbersome suite for too long.”
I wanted system tests to become “a much smaller part of the equation.”
I gave no target count or specific removal process. The accompanying comparison was that the system-test suite sat alongside a much larger body of unit and controller tests.
HEY had “over 5,000 unit and controller tests.”
I described the total test ratio as “about half-to-one.”