Why Unit Test
-
I will try yawning enough before clicking on the link... ;) Thank you very much (have a +1 as thank you) for your e-book, Marc. I will give it a read thoroughly right away. :)
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
Afzaal Ahmad Zeeshan wrote:
Marc. I will give it a read thoroughly right away.
Heh, well, it's ok if you yawn through it too. But I would enjoy hearing your thoughts about it! Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
I test my unit frequently... :omg: Oh! You mean code! Ummm, yeah, I do that too. :-O
-
Afzaal Ahmad Zeeshan wrote:
Ended up yawning!
I hope my e-book[^] on the subject isn't a yawner! ;) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
Boring beats staying up till 4:00am trying to fix a critical bug in production. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
Member 11547329 wrote:
Is Unit Testing is most boring activity for Developer
Whenever I am bored doing programming, I ask myself, why can't the computer do this, which has led to some interesting tools over the years. I still don't see why we don't have tools that generate the unit tests for us. I mean, it really isn't that hard if we were only to apply ourselves to the problem. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
Ravi Bhavnani wrote:
True, but I've never tried, as I expect to be disappointed. Have you tried it? Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
Boring beats staying up till 4:00am trying to fix a critical bug in production. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
Ravi Bhavnani wrote:
True, but I've never tried, as I expect to be disappointed. Have you tried it? Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
No, I haven't tried it. I've been building my unit tests manually so far. Admittedly, I don't test every method and property - just (what I deem to be) points of failure. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
Afzaal Ahmad Zeeshan wrote:
Ended up yawning!
I hope my e-book[^] on the subject isn't a yawner! ;) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
Thanks for the link. It's always useful to read a different perspective on an important subject.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill
-
No, the most boring activity a developer can be involved in is a four hour meeting you have to attend, of which the last five minutes are relevant to your job. If you are lucky. And then ***someone*** will say "oh, just one other thing..." And that'll add another hour or two.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
You are absolutely right!
Behzad
-
Afzaal Ahmad Zeeshan wrote:
Ended up yawning!
I hope my e-book[^] on the subject isn't a yawner! ;) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
oh! Thank you! :) :thumbsup:
-
Ravi Bhavnani wrote:
True, but I've never tried, as I expect to be disappointed. Have you tried it? Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
I haven't either; but it looks like it's just a test stub generator. You'd still have to do the hard work of writing any non-trivial setup code, and then actually writing meaningful test content. The one in VS08/10 was a major waste of time IMO; and it appears MS agrees with me since based on the comments there they yanked it from 2012. I've also played a bit with MS's automagic unit testing tool back around the New Year. While it fell well short of its "cover your legacy code in a single button click" hype; if you're writing readily testable code now it seemed like it might be able to generate good test coverage of it. Things like non-trivial state setup, logic in winform event handlers, or classes with tight coupling to the file system all defeated it; unfortunately my un-unit tested legacy .net code is riddled with those constructs making it mostly useless to me. (Even aside from only having MSDN pro - and the feature apparently being limited to the rebranded Premium tier.)
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
I've never unit tested. Unless running the program in a debugger, handing my keyboard to a small child, and telling them "Smash a ton of keys" counts. :laugh:
When I talk to people who don't even know what source code is, I open an editor window and say "This is what we go through every time you find a bug!"
-
No, there are worse things many times more boring than unit testing. Like spending three months looking for a decent job because your last company imploded due to all the unfixed bugs. Like spending a week hunting for a bug in your colleague's code who thought unit testing was boring so he didn't bother. Like waiting six months for your cool new feature to go live because your testing organization only does system test, and therefore can only afford to release twice a year.
-
Afzaal Ahmad Zeeshan wrote:
Marc. I will give it a read thoroughly right away.
Heh, well, it's ok if you yawn through it too. But I would enjoy hearing your thoughts about it! Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
I have read that eBook, that was an amazing and outstanding eBook of yours Marc. Now, I really know what Unit is, what Test is and what Unit Test is. :) Thanks a lot Marc, for such extraordinary help of yours. :)
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
-