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.

7
  • 2
    I'd appreciate an insight into why somebody down voted this post. Commented May 3, 2012 at 13:38
  • 15
    Did not down-vote, but I would offer that the idea that all code must have a test is border-line religious, and not always practical. Commented May 3, 2012 at 15:03
  • 2
    @noahz Yes, I'll buy that. But on the "must, should, would" scale, I selected "should" and not "must"... Commented May 3, 2012 at 16:34
  • 1
    Ok - but if the code "will need modifications", the tests will also cost more, right? Also, do you test shell scripts? Build scripts? Commented May 4, 2012 at 8:04
  • Yes, I test those scripts. And they can't be tested with unit tests, but they can still be tested. Commented May 4, 2012 at 13:47