from Re: [TDD] Is a commented code a smell? ... --OT-- Sigh again.. Another story. We had this piece of yarn that people had been spinning since I was born. By...
16120
Mike
ocean_west_2005
May 2, 2006 12:00 pm
OK, that works, but I don't see a compelling advantage over properties. Ordinary properties are typed, and appear to be TSTTCPW besides. Yes, I think the time...
16121
Mike
ocean_west_2005
May 2, 2006 1:23 pm
... I'm using the trial version 2.0, and it doesn't seem to be able to handle such refactorings very well. The only time when search and replace doesn't seem...
16122
Pascal Roy
pascal_roy_1967
May 2, 2006 1:24 pm
Ron, Here’s a suggestion. Maybe you have already looked into something like this, but just in case… We’ve been toying with Selenium...
16123
Mike
ocean_west_2005
May 2, 2006 1:48 pm
Yes you can do it, by doing multiple refactorings, but I don't think it's the easiest way in this case, since you need to first create a field, then make it a...
16124
Anderson, Kelly
kellycoinguy
May 2, 2006 2:27 pm
... Bob, I have to say that your suggestions on this thread have been very useful and thought provoking. This one in particular has me thinking completely...
16125
Anderson, Kelly
kellycoinguy
May 2, 2006 2:45 pm
... I guess I didn't think that it was a problem to have a "list" of something exposed. I'm rethinking that, but it will take some time to sink in. ... I...
16126
Anderson, Kelly
kellycoinguy
May 2, 2006 3:05 pm
... Mike, Not to start an editor war or anything (please let's not do that!) I find CodeWright to be very useful from time to time for little editing jobs that...
16127
unmesh_joshi
May 2, 2006 3:11 pm
I was away from the list for last several days. Thanks to everybody who shared their views. ... After adopting TDD I see following improvements in my working ...
16128
Ayende Rahien
ayende_tdd
May 2, 2006 3:20 pm
What is the problem with new lines and S&R ... From: testdrivendevelopment@yahoogroups.com [mailto:testdrivendevelopment@yahoogroups.com] On Behalf Of Mike ...
16129
David Rosenstrauch
darose2
May 2, 2006 5:03 pm
... Well, I'll give you the example where I ran into the problem. I was working with URL's. I had classes for relative URL's and absolute URL's. One truth...
16130
David Rosenstrauch
darose2
May 2, 2006 5:03 pm
... Well, I'll give you the example where I ran into the problem. I was working with URL's. I had classes for relative URL's and absolute URL's. One truth...
16131
Anderson, Kelly
kellycoinguy
May 2, 2006 5:03 pm
... I second that thought. At the VERY least, I feel like I'm learning about something useful. Learning and personal professional progress (sharpening the saw)...
16132
Ron Jeffries
ronaldejeffries
May 2, 2006 5:15 pm
... Oh, come on. Bag the hype. Maybe TDD makes your code a bit better, but even that comes at a cost. Keeps you learning, awake, and alert? That's so bogus. ...
16133
Anderson, Kelly
kellycoinguy
May 2, 2006 5:17 pm
... Thanks. I appreciate preciseness in communications, even when I don't always achieve it myself. :-) ... Ok, but the issues I've been facing have been in...
16134
Anderson, Kelly
kellycoinguy
May 2, 2006 5:46 pm
... It's amazing how complex something as seemingly simple as a URL can get when you dig into it. ... Yeah, I wouldn't (and didn't) do this. ... This is what...
16135
Anderson, Kelly
kellycoinguy
May 2, 2006 5:49 pm
... This reminds me of an old comedy show skit about a weight loss program that consisted of hanging around with very fat people to make yourself look thinner....
16136
Mike
ocean_west_2005
May 2, 2006 6:18 pm
... Can be done in VS, at least to a limited extent, but it's hardly convenient nor a time saver. Unless you know some tricks. I'm sure it would be easier to...
16137
mbrown103
May 2, 2006 6:36 pm
One of my main tasks is to produce or upgrade features on my companies web site. I would like to use TDD to do this because one of the problems I have been...
16138
Ayende Rahien
ayende_tdd
May 2, 2006 8:04 pm
You don't need to ship the tests. I usually create: Foo.Dll Foo.Tests.Dll - reference foo This system has a big potential of versioning problem, where you fix...
16139
Ayende Rahien
ayende_tdd
May 2, 2006 8:06 pm
Yes. I hate VS' regexes, but they have their uses. It is much easier to do it right from the start, of course. In general, since the UI is very dynamic, I find...
16140
mbrown103
May 2, 2006 8:19 pm
Understood and agreed. I unfortunatly need to find a way to test the functions directly from the web page's code behind. I am not at liberty to add foo.dll...
16141
Ayende Rahien
ayende_tdd
May 2, 2006 8:30 pm
Why are you not able to add extra dlls? Is this some business requirements ? If so, can you make use of ILMerge to go around that? Are you at liberty to create...
16142
mbrown103
May 2, 2006 8:57 pm
I am not familiar with ILMerge. I will do some research on this to see if it is a viable option. Yes the dll issue is a business requirement. As far as the...
16143
Ayende Rahien
ayende_tdd
May 2, 2006 9:12 pm
Test code in a separate project is a good idea, I use it all the time. I would really suggest against putting anything non trivial in the code behind. The...
16144
mbrown103
May 2, 2006 9:18 pm
I agree with you completely. It creates code maintenence issues. Thank you for your help. ... time. ... code ... over the ... mbrown103 ... environment ... ...
16145
Eric Chu
echu888
May 2, 2006 10:10 pm
I don't have much experience with the other testing frameworks, but at work, we elected to use TUT ( http://tut-framework.sourceforge.net/ ) which we liked for...
16146
Rob Park
rpark68
May 2, 2006 11:24 pm
We use NUnitAsp for acceptance testing of Asp.net pages. It's slow, so not good for being test-driven, but I suppose it'd be an option. .rob....
16147
Monang Setyawan
oversleptkitten
May 2, 2006 11:29 pm
... Yes, good solution (I've thought about this kind of refactoring before). My next question is, is it a common practice to make a method as "protected" ...
16148
Christian Hauknes
cbhauknes
May 2, 2006 11:29 pm
... "While unit tests help greatly in documenting fixes, to the extent that infuriating bugs are related to wrong assumptions, unit tests that reiterate the...