You're viewing a single thread.
All Comments
45 comments
Tests are just booby traps for the other engineers so they don't break your code by mistake.
39 0 ReplyIts funny cause its true. I often design tests to be "if a case/enum value is added this test will explode and tell them to add code here"
13 0 ReplyThis is why I like strong type systems with exhaustivity checks
8 0 ReplySaaaaame. But sometimes even strongly typed stuff wont break on compilation time
2 0 Reply'spose that's true enough
1 0 Reply
45 comments
Scroll to top