HIGHLIGHT Updated and revised edition of a Manning classic and the only in-depth book on JUnit. Explains modern unit testing principles and the latest features in JUnit 4.5. DESCRIPTION Unit testing during software development, done properly, can mean the difference between a project's success and failure. JUnit in Action, Second Edition is an up-to-date guide to unit testing Java and Java EE applications using the popular JUnit framework and its extensions. Revised and updated from the best-selling original, the book provides techniques to help readers exploit JUnit 4.5. JUnit in Action, Second Edition summarizes many related open-source tools, offering a mature view of the unit testing field including strategies for EJB, database, and web applications. With real-world examples throughout, the authors demonstrate how to incorporate open source frameworks with JUnit, and explain test-driven development and other best practices for modern unit testing. KEY POINTS Strong early demand through Manning's Early Access program (MEAP) Covers latest JUnit 4.5 features including annotations, exception handling and assertion methods Concise and developer-centric In Action style Examples with AJAX applications, mock testing, test automation and more
本来想好好学习研究JUnit的,可有点被书名欺骗的感觉,讲的东西太多了,所以很难深入,不如多讲讲JUnit和单元测试的东西,一本书能让人好好把握一个点就不容易了,泛泛而谈许多不太好。
评分前言:测试不是最终的目的。 为什么要单元测试: 1 能为我们带来重构的勇气。从而实现快速迭代,渐进式开发。 2 降低对调试的需求。 3 改进实现设计。 如何孤立的测试每个部分: 1 stub策略允许你孤立的测试粗粒度的代码部分。写代码模拟需求环境或者还没有写完的真实代...
评分内容比较古老了,还是junit3的。不过内容还可以,笔风比较亲切,内容的安排也比较全面合理。看完后切换到junit4也不觉得难.
评分本来想好好学习研究JUnit的,可有点被书名欺骗的感觉,讲的东西太多了,所以很难深入,不如多讲讲JUnit和单元测试的东西,一本书能让人好好把握一个点就不容易了,泛泛而谈许多不太好。
评分内容比较古老了,还是junit3的。不过内容还可以,笔风比较亲切,内容的安排也比较全面合理。看完后切换到junit4也不觉得难.
常说开卷有益,这个书就是一个例子。 书中不仅有junit的使用指南,还有测试相关的好多只是信息。也有许多使用场景说明。 是测试的实践书籍!
评分用了这么久倒是第一次完整的读完写这个的书,但是后边是不是跑题太多了,还是为了凑稿费。。
评分Repay my technical debt.
评分用了这么久倒是第一次完整的读完写这个的书,但是后边是不是跑题太多了,还是为了凑稿费。。
评分Repay my technical debt.
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有