Michael Wollin yahoo@mercurysw.com [SCRUMDEVELOPMENT]
2015-04-02 06:30:10 UTC
I am talking to a client dev manager who, while all on board with automated testing and continuous integration, does not see the value in unit tests. This I see as a problem. His argument is that if the automated system tests are fast enough, that is all you need to find any regressions. Moreover, if for some reason you canât exercise all the cases at that level, you the integration tests can. So writing unit tests is generally a waste of time.
I have two requests. First would be a very good article that addresses this specific argument and also explains the benefits of JUnit (XUnit). This is DISTINCT from the value of TDD. I suspect the answer is about code fragility but he argues that you can refactor and the system tests will catch any regressions. Second, would be a great article on the deeper value of TDD and why it yields better design and cleaner code, but that is less important to me right now.
The first argument is the primary. I want to explain why Unit testing specifically has value, even if the unit tests are written after the code.
Any great references would be appreciated.
Thanks,
Michael
I have two requests. First would be a very good article that addresses this specific argument and also explains the benefits of JUnit (XUnit). This is DISTINCT from the value of TDD. I suspect the answer is about code fragility but he argues that you can refactor and the system tests will catch any regressions. Second, would be a great article on the deeper value of TDD and why it yields better design and cleaner code, but that is less important to me right now.
The first argument is the primary. I want to explain why Unit testing specifically has value, even if the unit tests are written after the code.
Any great references would be appreciated.
Thanks,
Michael