Skip to search.
testdrivendevelopment · Test-driven Development

Group Information

  • Members: 3502
  • Category: Software
  • Founded: Feb 7, 2002
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
Messages 20332 - 20361 of 34997   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
20332 Steve Freeman
smg_freeman Offline Send Email
Nov 1, 2006
8:56 am
... Where are you seeing this? ... That's not the interesting part of mocking, but my guess is that puts you in a minority of programmers these days. ... which...
20333 Adam Dymitruk
adymitruk Offline Send Email
Nov 1, 2006
8:58 am
Most people don't have the luxury to have only greenfield projects to work on. Mocks help us a great deal in situations where you are the only one doing TDD...
20334 Tamas Szabo
balkan_tourist Offline Send Email
Nov 1, 2006
10:25 am
... Well, I'm usually using jMock and just stub instead of expect if that's what is needed. In this case I would probably use expect however, especially for ...
20335 Sammy Larbi
spammybrali Offline Send Email
Nov 1, 2006
12:33 pm
... Adam, I certainly can't speak for Ron, but I also cannot see where he would be discouraging exposure to tools. In fact, as I read it, he is doing the ...
20336 Sammy Larbi
spammybrali Offline Send Email
Nov 1, 2006
12:34 pm
... Carl, The thing I don't understand is, how does that differ from a "normal" class - i.e., one that does not "implements someInterface;" ... It seems to...
20337 Sammy Larbi
spammybrali Offline Send Email
Nov 1, 2006
12:36 pm
... I would have thought that is precisely the mock we would want to avoid. Would you mind explaining the thoughts behind this more clearly? -Sam...
20338 Sammy Larbi
spammybrali Offline Send Email
Nov 1, 2006
12:42 pm
... Ron, What is the distinction here between a fake and mock object? Are you just highlighting the difference between a "fake object" you create yourself and...
20339 Ron Jeffries
ronaldejeffries Offline Send Email
Nov 1, 2006
12:45 pm
Hello, Adam. On Wednesday, November 1, 2006, at 3:53:42 AM, you ... Adam: I just said, in what you quoted below, that I'm not arguing about how you should...
20340 Sammy Larbi
spammybrali Offline Send Email
Nov 1, 2006
12:47 pm
... Must be, since trying to think about it I'm getting a segmentation fault....
20341 Ron Jeffries
ronaldejeffries Offline Send Email
Nov 1, 2006
12:48 pm
Hello, Tamas. On Wednesday, November 1, 2006, at 5:24:22 AM, you ... I don't know. TDD is all about not knowing what I'd do. I'll comment on all this, more or...
20342 Ron Jeffries
ronaldejeffries Offline Send Email
Nov 1, 2006
12:52 pm
Hello, Steve. Are you practicing your cross-examination technique in hopes of finding part-time work as a prosecuting attorney? On ... In many of the examples...
20343 Joakim Ohlrogge
j0hlrogge Offline Send Email
Nov 1, 2006
12:54 pm
Hi, thanks for your input. A file has an interface that depends on order. I try to avoid that. I'll elaborate: A file is a perfect example of a brittle...
20344 avinap77 Offline Send Email Nov 1, 2006
12:59 pm
I would imaging mocks and interaces/roles might help as a designing- aid. In your example, how did you "know" that your design needs an entity called a...
20345 Tamas Szabo
balkan_tourist Offline Send Email
Nov 1, 2006
1:26 pm
... That's interesting. HttpThingie has to start listening on a given port. Do you find that interesting enough? If yes how do you test for that? If not what...
20346 Sammy Larbi
spammybrali Offline Send Email
Nov 1, 2006
1:28 pm
... You could, but to me, it seems like you'd be breaking the principle of least surprise. -Sam...
20347 Tamas Szabo
balkan_tourist Offline Send Email
Nov 1, 2006
1:35 pm
Avi, You know that I have started the same app with Mocks before. I started it without Mocks now to see where I get. But as you can see it seems that I got it...
20348 Donaldson, John (GEO)
geo_johnfr Offline Send Email
Nov 1, 2006
1:42 pm
There are a couple of ways that mocks can be useful: - they give you good checking on the arguments of the mocked method - they give you flexible control over...
20349 Joakim Ohlrogge
j0hlrogge Offline Send Email
Nov 1, 2006
1:44 pm
Thanks for trying again. As for your concern that it is possible to have the wrong expectations about what should be called and return what I find that not to...
20350 Brad Stiles
bradley.stiles@... Send Email
Nov 1, 2006
2:21 pm
... But the thing being mocked would have it's own set of tests, would it not? I thought the point of using a mock, fake object or stub was to allow the...
20351 Sammy Larbi
spammybrali Offline Send Email
Nov 1, 2006
2:29 pm
... Ron, I don't don't why you worry with all this YAGNI stuff. Clearly, if you are responding to messages before they are sent, by default you should know...
20352 Joakim Ohlrogge
j0hlrogge Offline Send Email
Nov 1, 2006
2:33 pm
... Not anymore, Easymock has been around for a while, rMock also uses record playback and I think that the new jMock interface uses generics and cool voodo...
20353 Keith Ray
attkeithray Offline Send Email
Nov 1, 2006
2:50 pm
... I think ... is inherently more fragile than the alternative - it tightly couples the test to the interface of one or more objects THAT ARE NOT UNDER TEST. ...
20354 Jim Bennett
jtbennett77 Offline Send Email
Nov 1, 2006
3:02 pm
Today I'm gonna use a mock (maybe more than one) for a new webservice capability to our form designer application...yaaayyeee! It's like that 90 degree scratch...
20355 Jim Cakalic
jim_cakalic Offline Send Email
Nov 1, 2006
3:14 pm
... retrieve ... when ... That's the way I tend to do it. It's what I'd call integration testing v. unit testing. I don't normally consider integration tests...
20356 Carl Manaster
cmanaster Offline Send Email
Nov 1, 2006
3:25 pm
Hi, Ron, ... I might write the interface first. I'm trying to think of a concrete example where I did this. I had an existing system with two quite ...
20357 Jim Cakalic
jim_cakalic Offline Send Email
Nov 1, 2006
3:31 pm
... I have a copy of the article that I retrieved from the ADC 2004 site about a year ago. Unfortunately, it seems the domain ...
20358 Carl Manaster
cmanaster Offline Send Email
Nov 1, 2006
3:36 pm
Hi, Sam, ... The difference is this: that the "normal class" can include many things in which my client has no interest. Classes shouldn't get that big, but...
20359 Luiz Esmiralha
lesmiralha Offline Send Email
Nov 1, 2006
4:04 pm
... I call that a "static" mock, as opposed to a "dynamic" mock, which is something made up "on-the-fly" to attend a specific test need....
20360 Alan Baljeu
alanbaljeu Offline Send Email
Nov 1, 2006
4:22 pm
... A command by definition mutates something. It really can't be tested apart from queries, or from having access to the state. w = new W(); y = new Y(w); ...
20361 Joakim Ohlrogge
j0hlrogge Offline Send Email
Nov 1, 2006
4:36 pm
Thanks, I have to process that some more to absorb the gems of wizdom hidden within. I just wanted to point out something that looks like a typo ... So in this...
Messages 20332 - 20361 of 34997   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help