|
|
|
|
|
by Jtsummers
414 days ago
|
|
> What was interesting to me about this was actively approaching the test as a way of debugging, designing it to give you useful information and using the test in conjunction with debugger I'm curious, if you're using TDD weren't you already doing this? A test that doesn't give you useful information is not a useful test. |
|
In contrast, if you write tests that rule out particular causes of a bug you're incrementally narrowing down the potential causes of the bug. So each test gives you information that helps you solve the bug, without directly stepping through the code.
Unfortunately, I don't think the post is a great primer on the subject.