Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 1
    I was just thinking of writing an answer to this question, and formulating what points I was going to make. John Bode has written exactly the answer that I wanted to write; so I upvoted this answer instead of supplying my own. But I'd REALLY like to add is that it's important to keep your unit tests in the same source repository as your application code; that way, it's easy to find them and run them as you make changes in your application. The real value of having unit tests is in dealing with changes AFTER the tests are written; not in testing the code at the time that you write it. Commented Mar 22, 2012 at 7:50