Unit Testing in Java: How Tests Drive the Code
2008-08-26 00:03
666 查看
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。http://blog.csdn.net/topmvp - topmvp
Software testing is indispensable and is one of the most discussed topics in software development today. Many companies address this issue by assigning a dedicated software testing phase towards the end of their development cycle. However, quality cannot be tested into a buggy application. Early and continuous unit testing has been shown to be crucial for high quality software and low defect rates. Yet current books on testing ignore the developer's point of view and give little guidance on how to bring the overwhelming amount of testing theory into practice. Unit Testing in Java represents a practical introduction to unit testing for software developers. It introduces the basic test-first approach and then discusses a large number of special issues and problem cases. The book instructs developers through each step and motivates them to explore further.
*Shows how the discovery and avoidance of software errors is a demanding and creative activity in its own right and can build confidence early in a project.
*Demonstrates how automated tests can detect the unwanted effects of small changes in code within the entire system.
*Discusses how testing works with persistency, concurrency, distribution, and web applications.
*Includes a discussion of testing with C++ and Smalltalk.
http://rapidshare.com/files/51392158/1558608680.zip
Software testing is indispensable and is one of the most discussed topics in software development today. Many companies address this issue by assigning a dedicated software testing phase towards the end of their development cycle. However, quality cannot be tested into a buggy application. Early and continuous unit testing has been shown to be crucial for high quality software and low defect rates. Yet current books on testing ignore the developer's point of view and give little guidance on how to bring the overwhelming amount of testing theory into practice. Unit Testing in Java represents a practical introduction to unit testing for software developers. It introduces the basic test-first approach and then discusses a large number of special issues and problem cases. The book instructs developers through each step and motivates them to explore further.
*Shows how the discovery and avoidance of software errors is a demanding and creative activity in its own right and can build confidence early in a project.
*Demonstrates how automated tests can detect the unwanted effects of small changes in code within the entire system.
*Discusses how testing works with persistency, concurrency, distribution, and web applications.
*Includes a discussion of testing with C++ and Smalltalk.
http://rapidshare.com/files/51392158/1558608680.zip
相关文章推荐
- how to manually traverse the ZODB tree in your code to locate objects by their path?
- override the hashcode and equals method in java
- Pragmatic Unit Testing in Java with JUnit 书评
- (NOT CLEAR)Question 18: In the given C++ code snippet, which of the following statements correctly identify how Mon of enum DOW
- How to check “hasRole” in Java Code with Spring Security?
- How to do live debug the Managed code in Windows Phone 7
- how to use the code in ms ssrs
- Unit Tests for ASP.NET MVC application that uses resources in code behind.
- 《Pragmatic unit testing:in java with Junit》阅读
- How can we refactor code without unit tests?
- Pragmatic Unit Testing in Java with JUnit
- How to generate UML Diagrams from Java code in Eclipse
- How to parse the overloading methods in Java 5.0
- How to Resolve the 'Error MSB6006 tsc.exe exited with code 2' build error in Visual Studio 2015
- How a garbage collector works----From Thinking in Java the 4th edition
- Units Problem: How to read text size as custom attr from xml and set it to TextView in java code
- How to implement the similar mechanism with Java final in c++?
- How to Get the Function Code in R
- weblog.java.net: The Problem with Unit Testing
- Overriding Java methods in Groovy for unit testing