So to answer.
Your point about manual testing is valid though I would argue it's the best way to see if something actually works in practice. I could argue that you are relying on the unit test being up to date and well written. The "but it worked on my box" is another issue entirely.
My point was not clear if that is what you took from it. My point was that single purposes classes are easier to understand and was related to you point about unit testing being a way of describing how a class should be used. For me understanding code is difficult when it attempts to do multiple tasks and become messy and interdependent.
mmm that worries me a bit, if you change some code I believe you should know the implications and should test it - even before your testers get their hands on it. Obviously, if you are talking about changing huge bodies of code then you are working with some interesting code. When I have changed huge bodies of code it's usually due to a move from one tech to another - I would still be testing the outcome and not relying on unit tests.
However, I understand that from the sounds of it you and your team are doing well with TDD and good luck to you. Interesting points.
Originally posted by browntractor
View Post
Originally posted by browntractor
View Post
Originally posted by browntractor
View Post
However, I understand that from the sounds of it you and your team are doing well with TDD and good luck to you. Interesting points.
Comment