Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

testdrivendevelopment · Test-driven Development

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 4911
  • 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

Advanced
Messages Help
Messages 13899 - 13928 of 35472   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
13899 Ayende@...
ayende_tdd Send Email
Dec 29, 2005
6:30 pm
You can raise an event only by reflection, there are some good code that shows how to do it in Roy's Blog. ...
13900 david5266 Send Email Dec 29, 2005
6:31 pm
I'm new to the Presenter thing myself, but what I've been doing is to not have the View raise an event to the Presenter. Instead, the View handles the button...
13901 Ayende@...
ayende_tdd Send Email
Dec 29, 2005
6:39 pm
This is something that _really_ depends on your tools. Using something like NMock and refactoring can break your code very easily. ... From: amine achergui...
13902 geoffrey_slinker
geoffrey_sli... Send Email
Dec 29, 2005
6:39 pm
I wrote this paper concerning TDD and test data for an extremely large system (terabytes of data). I just re-read part of it and it is not the easiest paper to...
13903 Colin Place
trufantisgod Send Email
Dec 29, 2005
9:09 pm
Amine, Based on recent experience, I've come to the conclusion that refactoring the tests is equally as important as refactoring the code under test. For...
13904 Anderson, Kelly
kellycoinguy Send Email
Dec 29, 2005
9:17 pm
Yes, you can refactor the tests as well at the same time. As a simple example, suppose that you apply the "Rename Function" refactoring. Well, it's pretty...
13905 Roman Gavrilov
clavrg Send Email
Dec 29, 2005
10:59 pm
I have added couple nice features to DotNetMock specifically for testing events. 1. I've added a method to DynamicMock class 'RaiseEvent(string eventName, ...
13906 dhui@...
dhui_2002 Send Email
Dec 30, 2005
12:29 am
... You can use FIT in this way. But I think you have lost some significant benefits FIT can bring to you. FIT is more a collaboration and communication tool...
13907 Gishu Pillai
gishu_pillai Send Email
Dec 30, 2005
5:49 am
... Very much so:) Pleaselet me know where I can get my hands on this And thank for coding this up. Gishu...
13908 Gishu Pillai
gishu_pillai Send Email
Dec 30, 2005
5:55 am
... The View and the Presenter both hold a reference each other rather than the presenter just containing a view member. This means both of them need to fake...
13909 Roman Gavrilov
clavrg Send Email
Dec 30, 2005
6:13 am
I've done that stuff some time ago - because I needed it myself. It is on my office box - woun't get there till Jan 2 next year. I will e-mail it to you. There...
13910 samuel@...
saas2813 Send Email
Dec 30, 2005
3:13 pm
... As the others said, keeping your tests clean is as important as keeping the code clean. One thing to think about when refactoring tests, duplication in the...
13911 Martin Nørskov Je...
mnj_resultmaker Send Email
Dec 30, 2005
3:30 pm
Hi I'm using NMock for my unit tests, and I've just spent the good part of an afternoon being baffled about why my mocks could not recognize the method I was...
13912 Paul Beckford
beckfordp Send Email
Dec 30, 2005
3:31 pm
Hi, Kent Beck suggests the same in his book "TDD by Example". If you haven't read it, It is well worth the read. BTW one of the reasons why I joined this...
13913 Donaldson, John (GEO)
geo_johnfr Send Email
Dec 30, 2005
3:56 pm
I think probably the answer is "yes, refactor your tests too". But there are some forces on tests which might modify that a bit. I started TDDing with a very...
13914 Donaldson, John (GEO)
geo_johnfr Send Email
Dec 30, 2005
4:06 pm
Ian, that option (2003 style web project) is certainly a solution for my problem. Although currently it's just a trial, downloadable version. (There seems to...
13915 beckfordp Send Email Dec 30, 2005
4:07 pm
Hi All, I'm an newbie to this forum, but I've done a fair bit of TDD. One of the things I find real useful in Kent Becks Book (TDD by Example) is the test...
13916 Steven Gordon
sfman2k Send Email
Dec 30, 2005
4:17 pm
Among the many purposes that TDD tests serve are being specifications for unit functionality of the code base. Readability is more important in TDD tests than...
13917 david5266 Send Email Dec 30, 2005
4:23 pm
Yes, the View does need to know about the Presenter, but I thought that was typical in MVP (see http://www.martinfowler.com/eaaDev/ModelViewPresenter.html and ...
13918 Charlie Poole
cpoole98370 Send Email
Dec 30, 2005
8:44 pm
Take a look at http://tap.testautomationpatterns.com:8080/index.html. Charlie...
13919 Charlie Poole
cpoole98370 Send Email
Dec 30, 2005
8:47 pm
Try passing ExpectAndReturn an object[] containing the string[] as an element. Charlie...
13920 Thomas Eyde
thomas_eyde Send Email
Dec 30, 2005
8:50 pm
Twice, today, I started to refactor my formula class. This class contains methods doing some tricky calculations. Both times I rolled back my changes because: ...
13921 Carl Manaster
cmanaster Send Email
Dec 30, 2005
9:31 pm
Hi, Thomas, ... It's impossible to say with any confidence, without seeing the code, but this suggests to me that smaller classes are gestating here. Peace, ...
13922 Thomas Eyde
thomas_eyde Send Email
Dec 30, 2005
10:02 pm
Smaller classes don't buy anything. Each method stands alone and could very well be static. Then there is a calculator which depends on them, so it's practical...
13923 Ayende Rahien
ayende_tdd Send Email
Dec 30, 2005
10:15 pm
Can you transform your methods into Method Object? ... From: testdrivendevelopment@yahoogroups.com [mailto:testdrivendevelopment@yahoogroups.com] On Behalf Of...
13924 Jonathan Choy
tetsujinnooni Send Email
Dec 30, 2005
11:45 pm
Perhaps the thing Carl is suggesting here is that there's a taxonomy of MethodObjects trying to get loose from the formulas object... That formulas object...
13925 Steven Gordon
sfman2k Send Email
Dec 31, 2005
12:02 am
Thomas, You can still get a lot more descriptive: [Test] public void CalculateAnInstantaneousDistance() { slowSpeed = 1; instaneousTime = 0; Assert.AreEqual(0,...
13926 Mike
ocean_west_2005 Send Email
Dec 31, 2005
12:09 am
Hi, I would suggest that the View send not be sending events to the Presenter. This makes your problem go away. There are exceptions to every rule, but I'm...
13927 Thomas Eyde
thomas_eyde Send Email
Dec 31, 2005
1:09 am
I was waiting for someone to suggest that. I don't know if I manage to invent useful variable names, but splitting the test methods would probably increase the...
13928 Thomas Eyde
thomas_eyde Send Email
Dec 31, 2005
1:24 am
Hi, ... I have to admit I fail to see how a MethodObject improves anything in this case. ... There will be a calculator object which use the formula object to...
Messages 13899 - 13928 of 35472   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