The Artima Developer Community
Sponsored Link

Weblogs Forum
A Set of Unit Testing Rules

50 replies on 51 pages. Most recent reply: Jan 21, 2011 2:19 AM by Steve Merrick

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 50 replies on 51 pages [ « | 1 ... 38 39 40 41 42 43 44 45 46 ... 51  | » ]
Erick Reid

Posts: 7
Nickname: erickreid
Registered: May, 2003

Re: A Set of Unit Testing Rules Posted: Sep 19, 2005 10:16 AM
Reply to this message Reply
Advertisement
did my best to scan all responses, not wanting to be redundant...

i had trouble with understanding unit v. functional in years past (perhaps still do, but it feels better nowadays).

a wacky coworker put this reminder to us, "if your unit test 'poops in the sandbox' it is not a unit test". meaning, if the unit test altered info in a db, then it is a functional test.

i was initially incredulous/confused, "but, but, but, i've <b>got</b> to see if it works or not!"

in order to keep the sandbox clean, and keep the unit tests true to intent, i've had a good time using mockrunner (http://mockrunner.sourceforge.net/).

Flat View: This topic has 50 replies on 51 pages [ « | 38  39  40  41  42  43  44  45  46 | » ]
Topic: Computer About to Play Jeopardy Previous Topic   Next Topic Topic: The Search for Requirements

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use