发表于2024-09-26
JUnit in Action 2024 pdf epub mobi 电子书
本来想好好学习研究JUnit的,可有点被书名欺骗的感觉,讲的东西太多了,所以很难深入,不如多讲讲JUnit和单元测试的东西,一本书能让人好好把握一个点就不容易了,泛泛而谈许多不太好。
评分前言:测试不是最终的目的。 为什么要单元测试: 1 能为我们带来重构的勇气。从而实现快速迭代,渐进式开发。 2 降低对调试的需求。 3 改进实现设计。 如何孤立的测试每个部分: 1 stub策略允许你孤立的测试粗粒度的代码部分。写代码模拟需求环境或者还没有写完的真实代...
评分本来想好好学习研究JUnit的,可有点被书名欺骗的感觉,讲的东西太多了,所以很难深入,不如多讲讲JUnit和单元测试的东西,一本书能让人好好把握一个点就不容易了,泛泛而谈许多不太好。
评分前言:测试不是最终的目的。 为什么要单元测试: 1 能为我们带来重构的勇气。从而实现快速迭代,渐进式开发。 2 降低对调试的需求。 3 改进实现设计。 如何孤立的测试每个部分: 1 stub策略允许你孤立的测试粗粒度的代码部分。写代码模拟需求环境或者还没有写完的真实代...
评分内容比较古老了,还是junit3的。不过内容还可以,笔风比较亲切,内容的安排也比较全面合理。看完后切换到junit4也不觉得难.
图书标签: junit java 测试 单元测试 编程 技术 软件开发 软件工艺
A guide to unit testing Java applications (including J2EE applications) using the JUnit framework and its extensions, this book provides techniques for solving real-world problems such as unit testing legacy applications, writing real tests for real objects, automating tests, testing in isolation, and unit testing J2EE and database applications. Using a sample-driven approach, various unit testing strategies are covered, such as how to unit test EJBs, database applications, JSPs, and Taglibs. Also addressed are testing strategies using freely available open source frameworks and tools, and how to unit test in isolation with Mock Objects. Testing J2EE applications by running tests from inside the container for performing integration unit tests is discussed, as is how to automate unit testing in automated builds (such as Ant and Maven) for performing continuous integration.
in action 泛滥。。。
评分in action 泛滥。。。
评分烂书
评分in action 泛滥。。。
评分烂书
JUnit in Action 2024 pdf epub mobi 电子书