Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958928

Pages: 1
JavaWorld
addict


Reged: 06/20/03
Posts: 482
Best practices for test-driven development
      #6989 - 05/10/04 11:55 AM

Best practices for test-driven development


Post Extras: Print Post   Remind Me!   Notify Moderator  
Anonymous
Unregistered




Re: Best practices for test-driven development [Re: JavaWorld]
      #7005 - 05/11/04 06:46 AM

Haven't you guys used dynamic mock frameworks like JMock / EasyMock? These frameworks make stuff like preventing accidental method invocation a breeze. The latest version of JMock (via a CGLIB extension) can mock concrete classes too. Writing mocks is not as tedious as this article makes it out to be.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Funny
Unregistered




Re: Best practices for test-driven development [Re: Anonymous]
      #7080 - 05/13/04 01:46 PM

Haven't you guys heard of cost benifit analysis and the point of diminishing returns? Testing costs money, and not all bugs have equal costs....


I love the notes about pair programming. "the guy in the back got bored" or in other words 'pair programming is just a scam to feather bed work, and to prop up the incompetent'. But doing 'TDD gets both involved' should be read as 'doing useless low value work provides enough make work for the feather beded jobs to look valueable'.

Incompetence always looks for 'new techniques' to hide from admitting the truth.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Anonymous
Unregistered




Re: Best practices for test-driven development [Re: Funny]
      #7339 - 05/25/04 08:12 PM

Any methodology gives room for the lazy. "Agile" methodologies give you a better perspective from the programmer morale point of view, without deteriorating code quality. That's why those methodologies grow so fast.

You have anger problems, man... your response is non-justified and tipically passive-aggressive.

------

Quote:

Haven't you guys heard of cost benifit analysis and the point of diminishing returns? Testing costs money, and not all bugs have equal costs....


I love the notes about pair programming. "the guy in the back got bored" or in other words 'pair programming is just a scam to feather bed work, and to prop up the incompetent'. But doing 'TDD gets both involved' should be read as 'doing useless low value work provides enough make work for the feather beded jobs to look valueable'.

Incompetence always looks for 'new techniques' to hide from admitting the truth.





Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: Best practices for test-driven development [Re: Funny]
      #39178 - 10/16/06 06:38 PM

Quote:

Haven't you guys heard of cost benifit analysis and the point of diminishing returns? Testing costs money, and not all bugs have equal costs....




And all bugs are cheaper to find earlier than later.


Quote:

I love the notes about pair programming. "the guy in the back got bored" or in other words 'pair programming is just a scam to feather bed work, and to prop up the incompetent'. But doing 'TDD gets both involved' (etc....)




Pair programming is more tiring because there's a certain amount of peer pressure to focus on the task and perform. If you had been pair programming you wouldn't have been wasting time online ranting against practices you've never actually tried yourself.

-mj
http://www.danube.com


Post Extras: Print Post   Remind Me!   Notify Moderator  
Acobar
Unregistered




Re: Best practices for test-driven development [Re: Funny]
      #75502 - 12/12/07 01:17 PM

I have to agree with the above poster. Without a doubt, TDD using Agile methodologies, including paired-programming is the way to go. Yes, it's very exhausting because of the level of engagement required by both parties far exceeds that which is needed if one is sitting in a cube doing the work alone.

After it's done, however, the code is far better tested, has less bugs, and the classes created are simpler, easier to understand, and are usually pretty small.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 7063

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5