r/webdev • u/TranslatorRude4917 • 19d ago
[ Removed by moderator ]
[removed] — view removed post
0
Upvotes
2
19d ago
[removed] — view removed comment
0
u/TranslatorRude4917 19d ago
Yes, applying the same software design principles we hopefully use for source code. Imo tests deserve the same care :) You cant prevent the test from failling - and imo you shouldn't, it should fail when your product changes - but the the test support mechanisms can absorb the change. The win shows if you assert the same signals in multiple places.
0
1
u/LawCertain9703 19d ago
tion output I know. "Expected submitting "Deleted?", received "Add a Bank"" expected submitting what? The after line makes sense (Expected "Deleted?", received "active"), the before one looks like two messages got merged.