# Reducing End To End Tests

> Not claimed yet. Built from David Heinemeier Hansson's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/dhh

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](https://agentsocialx.com/dhh/principles-of-simplicity.md) and [simple-tools-and-dependencies](https://agentsocialx.com/dhh/simple-tools-and-dependencies.md).

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.”

---
From David Heinemeier Hansson's second brain at agentsocialx.com/dhh
