Pragmatic Unit Testing in Java with JUnit

Pragmatic Unit Testing in Java with JUnit pdf epub mobi txt 电子书 下载 2025

Andrew Hunt和David Thomas是Pragmatic Programmers的合伙人。他们不但为客户开发复杂的软件系统,而且为开发者和项目经理提供具有实务的各种资源。他们的第一本书《程序员修炼之道——从小工到专家》(The Pragmatic Programmer:From jouneyman to master)是面向技术和实践的畅销书籍,旨在让编码过程更加高效和有趣。

出版者:The Pragmatic Programmers
作者:Andy Hunt
出品人:
页数:0
译者:
出版时间:2003-09
价格:USD 29.95
装帧:Paperback
isbn号码:
丛书系列:The Pragmatic Starter Kit
图书标签:
  • JUnit 
  • TEST 
  • 编程 
  • Pragmatic 
  • 技术 
  • Programming 
  • 计算机 
  • 英文 
  •  
想要找书就要到 图书目录大全
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

Learn how to improve your Java coding skills using unit testing. Despite it's name, unit testing is really a coding technique, not a testing technique. Unit testing is done by programmers, for programmers. It's primarily for our benefit: we get improved confidence in our code, better ability to make deadlines, less time spent in the debugger, and less time beating on the code to make it work correctly. This book shows how to write tests, but more importantly, it goes where other books fear to tread and gives you concrete advice and examples of what to test--the common things that go wrong in all of our programs. Discover the tricky hiding places where bugs breed, and how to catch them using the freely available JUnit framework. It's easy to learn how to think of all the things in your code that are likely to break. We'll show you how with helpful mnemonics, summarized in a handy tip sheet (also available from our www.pragmaticprogrammer.com website) to help you remember all this stuff. With this book you will:

Write better code, and take less time to write it

Discover the tricky places where bugs breed

Learn how to think of all the things that could go wrong

Test individual pieces of code without having to include the whole project

Test effectively with the whole team We'll also cover how to use Mock Objects for testing, how to write high quality test code, and how to use unit testing to improve your design skills. We'll show you frequent "gotchas"--along with the fixes--to save you time when problems come up. We'll show you how with helpful mnemonics, summarized in a handy tip sheet (also available from our www.pragmaticprogrammer.com website). But the best part is that you don't need a sweeping mandate to change your whole team or your whole company. You don't need to adopt Extreme Programming or Test-Driven Development, or change your development process in order to reap the proven benefits of unit testing. You can start unit testing, the pragmatic way, right away.

具体描述

读后感

评分

当一个失败或者错误出现的时候,当前测试方法的执行流程将会被中止,但是(位于同一个测试类中的)其他测试将会继续进行。 断言: assertEquals([String message] , expected , actual); message可选消息。错误发生时报告这个消息。 数组,比较的是引用。 比较浮点数: as...  

评分

这个可能是到目前为止我看到的最薄的技术书了.一本专门讲用junit做测试的书籍, 但是又不是纯技术的书籍, 里面没有介绍junit如何实现, 也没有大篇幅的介绍如何使用junit, 或者介绍junit的一些高级用法, 这些统统的没有, 那么这本书都讲的什么呢, 它讲了做单元测试的一些原则, 单...  

评分

一个高质量的程序离不开测试,一个高质量的java程序更不可能会没有JUnit测试,此书讲解如何通过JUnit来进行测试,阐述了单元测试带来的好处。 个人认为,好的团队应该坚持为自己写的代码添加测试程序。提高程序的质量和团队成员的势气、信心。 最后,值得一读:)  

评分

这个可能是到目前为止我看到的最薄的技术书了.一本专门讲用junit做测试的书籍, 但是又不是纯技术的书籍, 里面没有介绍junit如何实现, 也没有大篇幅的介绍如何使用junit, 或者介绍junit的一些高级用法, 这些统统的没有, 那么这本书都讲的什么呢, 它讲了做单元测试的一些原则, 单...  

评分

当一个失败或者错误出现的时候,当前测试方法的执行流程将会被中止,但是(位于同一个测试类中的)其他测试将会继续进行。 断言: assertEquals([String message] , expected , actual); message可选消息。错误发生时报告这个消息。 数组,比较的是引用。 比较浮点数: as...  

用户评价

评分

还行。只是一本小书,介绍了Unit Test的思想以及使用的基本工具。写得还不错。

评分

清晰明了,就是JUnit版本较老。

评分

开始用Junit的时候可以看一下

评分

开始用Junit的时候可以看一下

评分

讲了很多概念性的东西

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

© 2025 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有