Search the web
Sign In
New User? Sign Up
testdrivendevelopment · Test-driven Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 5067 - 5096 of 28238   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
5067
Hi Dave! ... I'm fairly certain that there's a similar story in one of Weinberg's books. If I recall correctly, it involves a turkey and putting a sieve over...
Robert Blum
groby_b
Offline Send Email
Sep 1, 2003
3:23 pm
5068
Hi guys, is there a hard and fast rule as to where mock objects are applicable. Ehat I mean is that I've seen them being created as part of the actual test...
senkwechanda
Offline Send Email
Sep 1, 2003
3:26 pm
5069
Hi guys. I'm new to the group and TDD in general. I was wondering, is there any hard and fast rule regarding where mock objects should be used. Currently I've...
senkwechanda
Offline Send Email
Sep 2, 2003
12:19 am
5070
There has been this idea in my mind for a while and I am not sure if there is anything to it... What if we could write code only by writing tests with the help...
Pierre Boudreau
pier1972
Offline Send Email
Sep 2, 2003
12:19 am
5071
... Use mock objects only when testing against real objects is painful. At a high level my approach is simple. 1. Identify objects that are painful to test. 2....
J. B. Rainsberger
nails762
Offline Send Email
Sep 2, 2003
12:19 am
5072
... Well, I say with the most respect and love that in general, I think you're nuts. Well, maybe not. But in general, I believe that the problem is somewhere...
Ron Jeffries
ronaldejeffries
Offline Send Email
Sep 2, 2003
1:25 am
5073
... I think that there is an odd blurring of lines between mock objects and stubs. IIRC, the focus of the original mock object paper was on endo-testing. That...
Russell Gold
russgold
Offline Send Email
Sep 2, 2003
1:49 am
5074
The final release of NUnit 2.1 is now available for download at http://nunit.sourceforge.net. This release has a number of improvements, most notably that it...
Charlie Poole
cpoole98370
Offline Send Email
Sep 2, 2003
1:43 pm
5075
Hi, On the whole NUnitasp is a very effective tool for unit testing. I did mange to cross the initial barriers but am still stuck with some problems :) Wud...
Shilpa Roy
shilparoy_2000
Offline Send Email
Sep 2, 2003
1:43 pm
5076
... JB can you explain point 3? I once heard somebody else on here mention using mocks and then getting them out of their code, but I never saw the reason why....
Nick Robinson
NicholasRobi...
Offline Send Email
Sep 2, 2003
1:43 pm
5077
... As a general rule I prefer instantiating Mocks outside of the code being tested because instantiating Mocks inside the code being tested risks bugs because...
Sven Gorts
Gorowitch
Offline Send Email
Sep 2, 2003
1:43 pm
5078
... Here is a snippet from my book -- something I wrote yesterday that may shed some light on my point of view. If not, then perhaps I need to write more. I'm...
J. B. Rainsberger
nails762
Offline Send Email
Sep 2, 2003
3:34 pm
5079
... I don't do step three. Unit tests are really good at not only showing you that something has broke, but also showing you exactly where. If your test uses...
Curtis Cooley
TheDarkSavant
Offline Send Email
Sep 2, 2003
3:34 pm
5080
Pierre, You are not taking too big of a leap when you suggest that IDEs perhaps via a plug-in could make a test pass the simplest way possible. For example,...
Luis de la Rosa
louielouielouie
Offline Send Email
Sep 2, 2003
3:35 pm
5081
The next Phoenix eXtreme Programming User Group meeting will be held on Monday, July 14th. This is an informal gathering of Phoenix area developers and project...
Turpin, Jay
jay_turpin
Offline Send Email
Sep 2, 2003
7:02 pm
5082
I am just getting started with C#, .NET, and Nunit. In our old C++ app, we had a special build of our application that would run all the tests. The tester ...
David Montgomery
mariossoup
Online Now Send Email
Sep 2, 2003
7:02 pm
5083
Hi Shilpa, NUnit is the test framework which NUnitAsp builds on. If you are using NUnitAsp, then you are also using NUnit. There's nothing in NUnit to do what...
Charlie Poole
cpoole98370
Offline Send Email
Sep 2, 2003
7:03 pm
5084
... I think those two are the same thing, perhaps just viewed differently. The former is a "symptom" view and the latter is the "cause" view. -- J. B....
J. B. Rainsberger
nails762
Offline Send Email
Sep 2, 2003
8:32 pm
5085
Please explain. Two questions: 1) How do you test isolated functionality in a method without mock objects? Ie. If one layer calls down to the database layer,...
Shellman, Joel
joelshellman
Offline Send Email
Sep 2, 2003
8:32 pm
5086
David, There have been several long threads about this. I think most people create one or more test assemblies which refer to the assemblies containingthe...
Charlie Poole
cpoole98370
Offline Send Email
Sep 2, 2003
8:32 pm
5087
... Whichever one changed between the last time the tests passed and the time when the tests fail. As long as I'm taking very small steps and running the tests...
Edmund Schweppe
schweppe@...
Send Email
Sep 2, 2003
8:33 pm
5088
Separate test project. The tests are built into a separate assembly from the assemblies being tested. Steve Steven A Smith ssmith@... ...
Steven A Smith
stevenator2
Offline Send Email
Sep 2, 2003
8:33 pm
5089
... The problem is actually extremely hard (although some parts could probably be automated); however, for a related idea, see Programming By Example:...
KathyVS
Offline Send Email
Sep 2, 2003
9:56 pm
5090
... I generally keep them in the test code. I don't often need to create them, but when I do it's typically because there's some resource that I can't access...
Chris Hanson
cmh23
Offline Send Email
Sep 2, 2003
9:57 pm
5091
... I remove dependencies where possible. ... Not necessarily. Let us test making a domain object from a ResultSet. To test this behavior I really only need...
J. B. Rainsberger
nails762
Offline Send Email
Sep 2, 2003
9:59 pm
5092
Hi Charlie, Thanks for trying to help me. :) But either Iam a little too new to Nunit or a little too slow to pick it up. I have maybe not implemented your ...
Shilpa Roy
shilparoy_2000
Offline Send Email
Sep 4, 2003
6:25 am
5093
... I believe you are right. So have some other people. Not quite like you think of it, but it's a combination of Evolutionary Programming and Test Driven...
David Boyer
mangr3n
Offline Send Email
Sep 4, 2003
6:25 am
5094
... Genetic programming works sort of like this. I'm more familiar with the general genetic algorithm, but I've found with them you never get 100% success...
Brian Christopher Rob...
bcrtrw
Offline Send Email
Sep 4, 2003
6:25 am
5095
Okay, so you suggest using the actual production objects themselves and not mock objects--which are very similar approaches to me. Question: How would you test...
Shellman, Joel
joelshellman
Offline Send Email
Sep 4, 2003
6:27 am
5096
This is a reminder that tomorrow evening (Thursday) from 6-8PM, XPSD will be hosting a presentation on how to use Test Driven Development with Graphical User ...
June Clarke
joonspoon
Offline Send Email
Sep 4, 2003
6:27 am
Messages 5067 - 5096 of 28238   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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