2 ms·
Wouldn’t this be a gap in the tests that needs to be closed?
by al_borland 10mo ago
Wouldn’t this be a gap in the tests that needs to be closed?
- vortexshadow 10mo agoTests definitely help, and I agree they should cover as much logic as possible. The gap I’ve seen is that tests usually validate expected scenarios, while some invariants only break after specific sequences of events or over time — especially with async flows and state that evolves across renders. In practice, we found tests and runtime checks to be complementary: tests verify intent, invariants catch unexpected drift when reality doesn’t match assumptions.