Remix.run Logo
▲ haukebri a day ago

Agreed on writing the test plan down. The harder part for me was what comes out of it. The tests an agent writes in my repo pass and protect nothing: copy text asserted as a fixed string, a component mocked away and then asserted on, three tests checking the same thing in different words. Coverage goes up and real breakage walks straight through.

Deleting first is what changed it for me. I go through the suite, cut everything that doesn't map to a flow a user actually goes through, then keep a few that drive the deployed app end to end. Fewer tests, noisier when one fails, and I trust them now.

The test plan is still the bit I can't hand over, because deciding what a flow is supposed to do is where I get it wrong myself.