Hacker News new | ask | show | jobs
by xxs 1407 days ago
> add debug info to code

On a more serious note: just learn to use a debugger, and add asserts, if need be. To me TDD only helps having something that would run your code - but that's pretty much it. If you have other test harness options, I fail to see the benefits outside conference talks and books authoring.

1 comments

my professional opinion is that having to resort to a debugger is a bad-design, bad-testing code smell