... If a, b and c never throw exceptions /and/ none of them have any side effects that the following ones depend on, then I might not test it. However... *...
... Tell the Linux folks... I used Token Ring network cards for a couple of years at IBM and I never had a problem with them. -- J. B. Rainsberger, Diaspar...
There's a more fundamental issue here - at least it seems more fundamental to me. :-) If the meaning of doEverything is "run a, b and c, in order" then you ...
I would not unit test it as it stands. Once you've mocked the method calls, there's no additional logic to test. So, why test it. If there were some...
Call for Participation 2nd Canadian Agile Network Workshop Held in conjunction with SEKE 2004 ============= June 20-21, 2004 ============= The Banff Centre,...
Carmen Zannier
czannier@...
Feb 3, 2004 7:03 pm
6280
I would likely have a unit test for "doEverything", because I likely first wrote void doEverything() { /* a stuff */ /* b stuff */ /* c stuff */ } and the...
Hi, I am playing with IBM Object Rexx, (free for linux from http://www-306.ibm.com/software/awdtools/obj-rexx/ ), and I find I learn better with an xunit...
... Really cool I'd say ;-) ... It also works using the web pages only. Thats one of the _cool_ parts: I don't even have .net installed on my machine. ... ...
... The one loss I see with the looping test is that if multiple failures would occur, the loop will stop at the first failure, so you have to iterate through...
... I think the risk is that, sometime later, someone changes doEverything() to do other stuff, and it isn't covered. So my questions would be: 1) Is anyone...
... I am a "Linux folks". User since Red Hat 4.0, and Asst. Director of the Boston Linux and UNIX user's group (http://www.blu.org). -- DDDD David Kramer...
Granted the below is one man's perception of XP, but I thought it would be worthwhile sharing; it's less off the mark than Bob Cringely's recent column, but...
I often try my hand at the Code Katas in the pragmatic programmer site. In case someone does not know it, these Katas are like practic sessions ...
Jorquera, Lorenzo
ljorquera@...
Feb 3, 2004 7:05 pm
6290
... Doing TDD you'd write a failing test first. ... Certainly would. Even in case a failing integration test can be written I consider it good practice to...
XP Agile Universe 2004 Call for Panels Proposals Calgary, Alberta, Canada August 15-18, 2004 www.agileuniverse.com www.xpuniverse.com Panel sessions provide a...
... I meant whoever wrote that bit of documentation. They were the ones poking fun at Token Ring. I just found their poking fun to be funny. :) -- J. B....
Could you TDD most of the logic of the Windows Service without executing the objects in the context of the service? I've used this approach in the past for...
I would say this /may be/ true if you view testing as a /validation/ technique. However, in the context of TDD, your tests really are a /design/ technique. If...
Hi, I'm a young Java programmer, working in a small team in a middle-sized company. I've been using TDD for a couple of months now (as the only one in my...
Paul
kl2o88k02@...
Feb 4, 2004 5:50 pm
6297
... 1. Write the service as a standard Application first, TDD. 2. Add a frontend that allows starting and stopping the processing (again using TDD). When you...
I hope that someone will be able to help me in a tool search. My dev team is using test-first practices, and we employ supporting practices: continuous build,...
Paul, If I understand your question correctly, you are asking how to convince a 'student' developer of the benefits of TDD. If so, then I think that the answer...
Hi Paul, This article has some promising ideas in it: http://christiansepulveda.com/blog/archives/000040.html Christian uses a metric of "edit cycles per...
I'd try a week without TDD(Measure time debugging) then a week with TDD (Measure time debugging + time writing tests) Is the first time > the second? It's...
I am trying to learn about the different ways of organizing unit tests. Writing POUTS (Plain Ol' Unit Tests), I have certainly found that I often need to write...