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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 16952 - 16981 of 28238   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
16952
Ooh, I only sent this message once. But who knows the misterious ways of yahoo :) Dan Bunea http://danbunea.blogspot.com On Wed, 31 May 2006 14:45:34 +0400,...
Dan Bunea
danbunea
Offline Send Email
Jun 1, 2006
7:03 am
16953
... Hi Thanks for your words Kelly and you're right, sometimes I don't sit back and appreciate how far I have come in such a short time but I'm always striving...
paul_s_harrington
paul_s_harri...
Offline Send Email
Jun 1, 2006
7:54 am
16954
I have an object that needs to be created once in a process. So I have implemented the Singleton pattern with private ctors et all. All is fine. Now I get a...
Gishu Pillai
gishu_pillai
Offline Send Email
Jun 1, 2006
9:58 am
16955
I don't see how you can do this is a TDD way. Just give up and write an integration test driven from a script? John D. ... From:...
Donaldson, John (GEO)
geo_johnfr
Offline Send Email
Jun 1, 2006
10:07 am
16956
can you make the appropriate instance getter protected virtual, that way you can inherit and override in your tests. Or just inherit from the singleton in your...
adam
adam.maillist01@...
Send Email
Jun 1, 2006
10:19 am
16957
... one. Nice one. Here's what my sneaky brain came up with... public class EggFactory { private static Egg m_obSingleInstance; private EggFactory() {} public...
Gishu Pillai
gishu_pillai
Offline Send Email
Jun 1, 2006
10:35 am
16958
I assume that you are using Java in the post below. I think C# has the equivalent to all the stuff below or some other solutions to acomplish the same. ...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Jun 1, 2006
10:40 am
16959
Gishu, well, in fact I didn't mean give up on TDD - I meant give up on using a unit-testing tool for this test. You can still do TDD but in an integration kind...
Donaldson, John (GEO)
geo_johnfr
Offline Send Email
Jun 1, 2006
10:56 am
16960
I'm with John on this issue. In my opinion, what you are trying to test does not fall under the umbrella of unit tests. So you would be better of using a...
Artur Jales Moreira
moravich
Offline Send Email
Jun 1, 2006
11:55 am
16961
... I recently did something similar with TDDing several threads accessing a shared resource, but the same idea should be applicable with seperate processes: ...
avinap77
Offline Send Email
Jun 1, 2006
12:03 pm
16962
Hi, We manage to do these tests without compromising the scope of the methods using TypeMock.NET (www.typemock.net). It is quite simple you save the state of...
Mirkana Aleh
Mirkana
Offline Send Email
Jun 1, 2006
12:38 pm
16963
Avi, yes, I too use this "hands off" technique (for example, I work with a product which outputs a file - so I detect the file output). But it's weak TDD, not...
Donaldson, John (GEO)
geo_johnfr
Offline Send Email
Jun 1, 2006
1:21 pm
16964
Hi all, I'm new to.. erm, well I'm trying to become new to TDD :), I've read some articles, and Kent Beck's book, but there are some ways to do things that...
Eduardo Yáñez Para...
eduardo.yanez
Offline Send Email
Jun 1, 2006
2:52 pm
16965
You could Just Create One as Uncle Bob suggests: http://butunclebob.com/ArticleS.UncleBob.SingletonVsJustCreateOne Cheers, Trond Arve ... [Non-text portions of...
Trond Arve Wasskog
ilmyggo
Offline Send Email
Jun 1, 2006
2:54 pm
16966
Hi, I have some puzzles about the interaction based test, i'm sorry that it is a bit lengthy, but i just want to make you to understand my situation easily. ...
Jeff.Yu
achievo_jeff_yu
Offline Send Email
Jun 1, 2006
2:58 pm
16967
Hi, When I used to develop in PHP, I used partial mocks to mock only certain methods of a particular test object. I found this handy because I could isolate...
James Carr
cloud_strife...
Offline Send Email
Jun 1, 2006
3:24 pm
16968
... Hi John. What makes this "weak"? Is it any less direct than testing throuugh a test-framework? think of the spawned processes as an extended/proprietary...
avinap77
Offline Send Email
Jun 1, 2006
4:28 pm
16969
I think what you are asking for is "intercept" in rMock: http://rmock.sf.net It works by subclassing the class you want to mock. Any method you don't record...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Jun 1, 2006
4:54 pm
16970
Hello Jeff.Yu, First off, you are not alone. Plenty of people have trouble with automating tests in the presence of a database. The problem is made even more...
Tony Byrne
tony_j_byrne
Offline Send Email
Jun 1, 2006
5:16 pm
16971
... Will there be any code? Can you think of any ways it could be written wrongly? Ron Jeffries www.XProgramming.com Learn the principle, abide by the...
Ron Jeffries
ronaldejeffries
Offline Send Email
Jun 1, 2006
5:21 pm
16972
... Hi Eduardo. I think you should start by articulating some stories, and then translate them into tests. ... So there are several stories (I've extended...
avinap77
Offline Send Email
Jun 1, 2006
6:18 pm
16973
The desire to improve one's self is important, and unfortunately somewhat rare these days. It is clearly NOT rare among those who post on this list, which is...
Anderson, Kelly
kellycoinguy
Offline Send Email
Jun 1, 2006
7:50 pm
16974
I do!!! This list. :-) -Kelly ________________________________ For now, I don't know what else to read instead. Jean. E-Mail messages may contain viruses,...
Anderson, Kelly
kellycoinguy
Offline Send Email
Jun 1, 2006
7:52 pm
16975
From: "Anderson, Kelly" <kanderson@...> ... Honestly! I don't read any "magazines." There is way more than enough quality online material to keep me...
Mark Wilden
markwilden
Offline Send Email
Jun 1, 2006
8:11 pm
16976
Thanks....
James Carr
cloud_strife...
Offline Send Email
Jun 1, 2006
8:18 pm
16977
... Great. This mailing list just helped kill print media. I hope you are all satisfied. -- Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!...
Phlip
phlipcpp
Offline Send Email
Jun 1, 2006
8:24 pm
16978
... From: "Jeff.Yu" <jeff.yuchang@...> ... The way I've done this is to 1) use a test database whose contents won't affect developers, 2) begin a...
Mark Wilden
markwilden
Offline Send Email
Jun 1, 2006
8:35 pm
16979
From: "James Carr" <james.r.carr@...> ... I think this can always be achieved by subclassing and overriding the mocked methods. ///ark...
Mark Wilden
markwilden
Offline Send Email
Jun 1, 2006
8:36 pm
16980
... Slashdot, OS Views, Daily Python URL, and Daily WTF....
Tim Ottinger
linux_tim
Online Now Send Email
Jun 1, 2006
8:41 pm
16981
... True, you can always create manual mocks. There is no situation where dynamic mocks is the only possible solution but I think that it is more convenient...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Jun 1, 2006
9:16 pm
Messages 16952 - 16981 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