8.4 Summary


8.4 Summary

Complete testing is impossible. A question that must be answered is when to stop testing and where to concentrate available resources. There is no right or wrong answer. Each project and each team has to find the answer to this question themselves, or worse yet, the right answer can change from day to day. Still, there are a few guidelines and arguments that help speed up a team's learning process. This chapter discussed the most important guidelines, the XP mantra, Test everything that could possibly break, being one of them. Requirements also play a fundamental role in striving for an adequate test suite. Finally, the chapter described the role code-coverage metrics and tools can play in controlling and steering our own testing efforts.




Unit Testing in Java. How Tests Drive the Code
Unit Testing in Java: How Tests Drive the Code (The Morgan Kaufmann Series in Software Engineering and Programming)
ISBN: 1558608680
EAN: 2147483647
Year: 2003
Pages: 144
Authors: Johannes Link

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net