PHP Classes

My experience

Recommend this page to a friend!

      PHP Classes blog  >  7 Reasons Why TDD Fai...  >  All threads  >  My experience  >  (Un) Subscribe thread alerts  
Subject:My experience
Summary:TDD is a waste of time
Messages:3
Author:Jorge Castro
Date:2014-06-11 12:19:42
Update:2014-06-25 21:34:31
 

  1. My experience   Reply   Report abuse  
Picture of Jorge Castro Jorge Castro - 2014-06-11 20:29:53
Hi there:
I agree with the problems of TDD.

In my experience, TDD is a waste of time.
a) It adds more code that my developers do not know, i.e. more training time and more code.
b) It does not work as well for database. Sometimes we should add "mockup" stuff and it is anything but funny.

c) It does not work at all for the presentation layer.
d) TDD works so well for business logic. However, business logic usually is a tiny layer between the presentation and the persistence.


  2. Re: My experience   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-06-12 00:20:21 - In reply to message 1 from Jorge Castro
Yes, very good additional points.

  3. Re: My experience   Reply   Report abuse  
Picture of Pablo Matias Perrone Pablo Matias Perrone - 2014-06-25 21:34:31 - In reply to message 1 from Jorge Castro
I agree with Jorge, for me it is helpful only on business logic, like a credit card payment IPN.