YOUR FEEDBACK
SOA Feature Story: Real-Time SOA Starts with the Messaging Bus!
Gerardo Pardo-Castellote wrote: Regarding the previous comment about "TCP ...
SOA World Conference
Virtualization Conference
$300 Savings Expire July 25, 2008... – Register Today!

SYS-CON.TV
TODAY'S TOP SOA & WEBSERVICES LINKS


SOA Virtualization: Agitar Offers Testivus for the Rest of Us
Agitar's Alberta Savoia Outlines Whimsically Serious Program on SYS-CON.TV

Digg This!

It's another Testivus miracle, according to Agitar Software founder and CTO Alberto Savoia (pictured), who was interviewed by SYS-CON.TV at JavaOne 2007 in San Francisco. Savoia discussed a new brochure about unit testing that was a thematic take-off on the popular episode of Seinfeld which featured the Festivus holiday.

Testivus features an airing of grievances, feats of strength, and miracles, just as the "real" holiday. The complete inteview will be available at SYS-CON.TV by the end of May. Meanwhile, Savoia provides a Testivus story for the rest of us, reprinted here:

Early one morning, a programmer asked the great master: “I am ready to write some unit tests. What code coverage should I aim for?”

The great master replied: “Don’t worry about coverage, just write some good tests.”

The programmer smiled, bowed, and left.

Later that day, a second programmer asked the same question.

The great master pointed at a pot of boiling water and said: “How many grains of rice should put in that pot?”

The programmer, looking puzzled, replied: “How can I possibly tell you? It depends on how many people you need to feed, how hungry they are, what other food you are serving, how much rice you have available, and so on.”

“Exactly,” said the great master.

The second programmer smiled, bowed, and left.

Toward the end of the day, a third programmer came and asked the same question about code coverage.

“Eighty percent and no less!” Replied the master in a stern voice, pounding his fist on the table.

The third programmer smiled, bowed, and left.

After this last reply, a young apprentice approached the great master: “Great master, today I overheard you answer the same question about code coverage with three different answers. Why?”

The great master stood up from his chair: “Come get some fresh tea with me and let’s talk about it.”

After they filled their cups with smoking hot green tea, the great master began to answer:  “The first programmer is new and just getting started with testing. Right now he has a lot of code and no tests. He has a long way to go; focusing on code coverage at this time would be depressing and quite useless. He’s better off just getting used to writing and running some tests. He can worry about coverage later.”

“The second programmer, on the other hand, is quite experience both at programming and testing. When I replied by asking her how many grains of rice I should put in a pot, I helped her realize that the amount of testing necessary depends on a number of factors, and she knows those factors better than I do – it’s her code after all. There is no single, simple, answer, and she’s smart enough to handle the truth and work with that.”

“I see,” said the young apprentice, “but if there is no single simple answer, then why did you answer the third programmer ‘Eighty percent and no less’?”

The great master laughed so hard and loud that his belly, evidence that he drank more than just green tea, flopped up and down.

“The third programmer wants only simple answers – even when there are no simple answers … and then does not follow them anyway.”

The young apprentice and the grizzled great master finished drinking their tea in contemplative silence.

About SOA World Magazine News Desk
SOA World Magazine News Desk (formerly Web Services Journal) trawls the world of distributed computing and SOA-related developments for the latest word on technologies, standards, products, and services and brings key information to you in a timely and convenient summary form.

Virtualization News Desk wrote: Agitar has taken a page from the Seinfeld show in developing its 'Testivus' program for unit code testing. The company has gone so far to create a brochure focused on Testivus (for the rest of us), including an airing of greivances, feats of strength, and miracles. Company founder and CTO Alberto Savoia explained all in a SYS-CON.TV interview.
read & respond »
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS


ADS BY GOOGLE