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 ... 18 19 20 21 22 23 24 25 26 ... 51  | » ]
Michael Feathers

Posts: 448
Nickname: mfeathers
Registered: Jul, 2003

Re: A Set of Unit Testing Rules Posted: Sep 12, 2005 7:40 AM
Reply to this message Reply
Advertisement
> > One thing that is interesting about this thread is that
> > many are irked by the def of UTs that I laid out. The
> > thing is, I'm not trying to change the def in the
> > industry. But locally, with some teams, it's a great
> way
> > to focus.
>
> I guess my issue with that is that it's just one way to
> focus, and it may be the wrong way to focus. In
> particular, I've worked with people who make comments like
> this:
>
> Besides being slow, critical dependencies also have
> another nasty property: We can't ensure the availability
> of the resource being dependent on.

>
> Sure, one approach is not to do those tests. But another
> is to figure out how you *can* ensure the availability of
> that resource. Often it requires getting pretty creative.

That's the thing. Those are other tests. I wouldn't recommend not doing them. The thing is, though, I often run into teams that do the hard work you describe but they end up not having any of the more independent tests, it bogs down, etc.

Flat View: This topic has 50 replies on 51 pages [ « | 18  19  20  21  22  23  24  25  26 | » ]
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