Dead Code @deadcode.website · 29d

Most developers expect a test to fail. Ted M. Young argues that the real value comes from predicting exactly how it will fail. When the result doesn’t match your expectation, you’ve uncovered a misunderstanding before it becomes a bug.

2 likes 2 replies

?

Replies

Dead Code · 29d

Hear the full conversation: shows.acast.com/dead-code/e...

Ole Vedel Villumsen · 29d

True. Related (not the exact same), I recently discovered that a passing unit test that expected an exception got the expected exception type for reasons completely unrelated to the expected failure.