The Artima Developer Community
Sponsored Link

Weblogs Forum
Debuggers are a wasteful Timesink

90 replies on 7 pages. Most recent reply: Jun 1, 2005 1:53 AM by Brian Slesinsky

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 90 replies on 7 pages [ « | 1 ... 4 5 6 7 ]
Brian Slesinsky

Posts: 43
Nickname: skybrian
Registered: Sep, 2003

first you need to reproduce it Posted: Jun 1, 2005 1:53 AM
Reply to this message Reply
Advertisement
One point I think people have overlooked is that you don't need to understand a bug before writing a test for it. All you need to know is how to reproduce it. A unit test is simply a way of automatically running some subset of the program (which could even be the whole thing) with canned data and checking to see if the bug is still there.

Debugger or no, you can't properly fix a bug until you can reproduce it, and a unit test is the best way to document how to reproduce it.

Flat View: This topic has 90 replies on 7 pages [ « | 4  5  6  7 ]
Topic: A Real-World Example of a C++ Contract Verification Class Previous Topic   Next Topic Topic: C++ Meta-Binders


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us