DEV Community

Discussion on: Backfilling Tests

Collapse
 
pbeekums profile image
Beekey Cheung

Yeah I get how that motivation is important. How do you mitigate the fallacies? One of my biggest concerns is the false sense of security in covering code, but not making the assertions necessary to truly validate it.

Collapse
 
ben profile image
Ben Halpern

I think it's a subtle culture thing. We really addressed this early and often. We didn't try to put pressure on the number itself, we mostly let the motivation happen on its own. Code reviews really don't care about the optimization, and we tried to proceed with self-awareness at every turn.

It's the little things. It's easy to proceed with blind optimism or ignorance.