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...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 14497 - 14526 of 28238   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
14497
I seem to recall reading somewhere that NUnit DynamicMocks can't handle ref our out method params. I'm having problems doing exactly this in my unit tests (I...
bk_caraway
Offline Send Email
Feb 2, 2006
6:29 am
14498
Nowadays, i am reading nice articles about unit tests with Python and Jython. Is there anyone who have best unit test practices with this languages? thanks...
Serkan Demir
biyolojiyazi...
Offline Send Email
Feb 2, 2006
6:30 am
14499
The stubs/mocks used when testing let me test the process without using the complicated objects, but the stubs aren't related in any way to the real objects....
jeffz_2002
Offline Send Email
Feb 2, 2006
6:31 am
14500
Jeff, First thing I would do is lose the Proxy concept, or at least the term - I dont see Proxy in this code at all. You have two interfaces depended on by ...
Nicholas Robinson
fromconcept
Offline Send Email
Feb 2, 2006
7:13 am
14501
NUnit handles ref params as expected arguments to methods. Are you trying to do something else? Charlie...
Charlie Poole
cpoole98370
Offline Send Email
Feb 2, 2006
8:42 am
14502
And this is because the real objects do not implement an interface (which you stubs/mocks would also implement)? ... [Non-text portions of this message have...
Steven Gordon
sfman2k
Offline Send Email
Feb 2, 2006
12:24 pm
14503
What Steve is suggesting is that you extract an interface from your "complicated objects". The complicated objects implement this interface, as do your...
Matt Berther
matt_berther
Offline Send Email
Feb 2, 2006
3:37 pm
14504
Hi, Recently, I've begun to enjoy mocking objects in my unit tests, due to the flexibility and the fine grained ability to test what an object does internally....
James Carr
cloud_strife...
Offline Send Email
Feb 2, 2006
3:49 pm
14505
Q: "Nowadays, i am reading nice articles about unit tests with Python and Jython. Is there anyone who have best unit test practices with this languages?" A: A...
Logan, Patrick D
patrickdlogan
Offline Send Email
Feb 2, 2006
4:28 pm
14506
I've used this pattern quite a few times. change: ... data = StaticReference.getData(); ... to: ... data = getData(); ... protected Data getData() { return...
Jeffrey Fredrick
frogstar
Online Now Send Email
Feb 2, 2006
5:04 pm
14507
Ah I see... so in this case you'd use a partial mock... inheriting from the class and then mocking out the methods you need to return a mock object. A lot...
James Carr
cloud_strife...
Offline Send Email
Feb 2, 2006
5:56 pm
14508
Glad you liked that -- I've used it a lot in the past. (In fact I used it to do a refactoring right after I wrote that message; good timing.) Now though I've...
Jeffrey Fredrick
frogstar
Online Now Send Email
Feb 2, 2006
6:56 pm
14509
Please, could someone (Charlie?) post a URL or two that contain *good* instructions on how to use Nunit DynamicMock, please. ... From:...
Robert Hanson
mvarobert1
Offline Send Email
Feb 2, 2006
8:21 pm
14510
Hi Robert, Because I wrote the nunit mock package for nunit internal use, I never wrote any docs. Of course, since it was later suggested that people who...
Charlie Poole
cpoole98370
Offline Send Email
Feb 2, 2006
9:23 pm
14511
Sounds like me. "YAGNI" in action - if it is for internal use, no one except you would need the docs, right? So what do people use? NMock? Custom mock...
Robert Hanson
mvarobert1
Offline Send Email
Feb 2, 2006
9:32 pm
14512
... I'm using Python, wxPython and TDD to develop Task Coach. It has roughly 1200 unit tests that run in about 20 seconds. What do you want to know? Cheers,...
Frank Niessink
fniessink
Offline Send Email
Feb 2, 2006
10:07 pm
14513
Those seem to be the two favorites. :-) I also hear RhinoMocks mentioned but I haven't tried them. There's nothing intrinsically wrong with using our mocks,...
Charlie Poole
cpoole98370
Offline Send Email
Feb 2, 2006
11:27 pm
14514
This is not partial mocking. You are mocking the entire collaborator. Partial mocking is where 'MockData' would encapsulate the real data and mock out only a...
Adam Dymitruk
adymitruk
Offline Send Email
Feb 2, 2006
11:29 pm
14515
Premessage note :- I fully understand and endorse the view that TDD is more about improving the design of programs than finding bugs. (It's also pretty nifty...
John Carter
refactored
Offline Send Email
Feb 2, 2006
11:56 pm
14516
Forgot "a.DoSomething();" right before the asserts. (Been a long day)...
Adam Dymitruk
adymitruk
Offline Send Email
Feb 3, 2006
12:42 am
14517
A lot of the bugs that people "do not care about" are ones where the program computes a value that the user just assumes is correct (after all, it was produced...
Steven Gordon
sfman2k
Offline Send Email
Feb 3, 2006
12:43 am
14518
First, can you really trust a CS associate professor in a tuxedo? ;-P To which specific paper are you referring? To answer your question, I think if your tests...
Anderson, Kelly
kellycoinguy
Offline Send Email
Feb 3, 2006
12:46 am
14519
It's an interesting body of work, indeed. My first impression on the actual question is that "stable, mature" software is a synonym for "legacy" software,...
yahoogroups@...
jhrothjr
Offline Send Email
Feb 3, 2006
2:49 am
14520
... It's certainly a good thing, and it's for precisely this reason that I think xUnit frameworks should have mock support built in. -- Regards, Tim Haughton ...
Tim Haughton
haughtontim
Offline Send Email
Feb 3, 2006
9:26 am
14521
Michael Features calls 'extract and over ride factory method' and there's a similar 'extract and over ride getter' ... Its a very cool technique. However, it...
andrew.p.mcdonagh@...
andy_ipaccess
Offline Send Email
Feb 3, 2006
10:10 am
14522
Probably a naïve question, but a language, such as Iron Python, implemented on the .NET framework, ought to produce assemblies which ought to be testable by a...
Donaldson, John (GEO)
geo_johnfr
Offline Send Email
Feb 3, 2006
11:05 am
14523
... I have first-hand experience with a company that lost $800k in *one week* due to a formula error in a spreadsheet. ouch! ... -- Daryl...
Daryl Richter
n_going_zax
Offline Send Email
Feb 3, 2006
1:38 pm
14524
In the technical sense, all .NET assemblies are comprised of IL + Metadata. I'm guessing that the IronPython tool does as well as that is what is required by...
Sam Gentile
sgentile@...
Send Email
Feb 3, 2006
2:10 pm
14525
... Did they do a thorough and rigorous Big Requirements Up Front? If the goal is to write the 20% of potential features that generate 80% of the profit, then...
Phlip
phlipcpp
Offline Send Email
Feb 3, 2006
5:52 pm
14526
From: "Donaldson, John (GEO)" <john.m.donaldson@...> ... In principal, this is correct. However, there is currently no way to build and export a "real" CLR...
Curt Hagenlocher
curt_hagenlo...
Offline Send Email
Feb 3, 2006
6:10 pm
Messages 14497 - 14526 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