PHPUnit袖珍指南-概述
来源:互联网 发布:java 两个数组去重 编辑:程序博客网 时间:2024/04/30 05:38
概述
聪明的Web开发人员会告诉你,越快找到代码的错误,你就能越快修正它,长期而言,项目成本越低。好了,能最有效的检测PHP代码中的错误的工具是PHPUnit,一个开发源代码的框架,它在你不在的时候,自动进行成套的单元测试。使用PHPUnit的好处是显而易见的:
l 减少用于测试代码的工作量
l 减少总体软件缺陷
l 增加对代码的信心
l 改善你和开发源代码的团队伙伴的关系
直到现在,这个流行工具唯一的问题是缺乏文档。为了解决这个问题,O’Reilly直接找到了源头,PHPUnit口袋书指南的作者,也是PHPUnit的创造者,Sebastian Bergmann,来解决这个问题。这本书把很多难以记忆的信息,语法,PHPUnit工作的原则,统一到一起。它也带来了只有技术创造者才能提供的洞察力和睿智忠告。而且,本书也谈到了敏捷方法和极限编程中关于测试的内容。
在O’Reilly口袋书指南最近的系列中,这本快速参考书把所有的答案都带到了你的指尖。那些对测试PHP代码感兴趣的Web应用程序开发者,会觉得本书是一个无价的伴侣。
--------------------------------------------------------------------------------------------------------------
原文:
Overview
Smart web developers will tell you that the sooner you detect your code mistakes, the quicker you can fix them, and the less the project will cost in the long run. Well, the most efficient way to detect your mistakes in PHP is with PHPUnit, an open source framework that automates unit testing by running a battery of tests as you go. The benefits of PHPUnit are significant:
a reduction in the effort required to frequently test code
fewer overall defects
added confidence in your code
improved relations with your open source teammates
The only problem with this popular testing tool was its lack of documentation-until now, that is. For this, O'Reilly went right to the source, as Sebastian Bergmann, the author of PHPUnit Pocket Guide, also happens to be PHPUnit's creator. This little book brings together hard-to-remember information, syntax, and rules for working with PHPUnit. It also delivers the insight and sage advice that can only come from the technology's creator. Coverage of testing under agile methodologies and Extreme Programming (XP) is also included.
The latest in O'Reilly's series of handy Pocket Guides, this quick-reference book puts all the answers are right at your fingertips. It's an invaluable companion for anyone interested in testing the PHP code they write for web applications.
- PHPUnit袖珍指南-概述
- PHPUnit袖珍指南-概述
- PHPUnit袖珍指南-第一章 简介
- PHPUnit袖珍指南-第一章 简介
- PHPUnit袖珍指南-第四章 安装PHPUnit
- PHPUnit袖珍指南-第四章 安装PHPUnit
- PHPUnit袖珍指南-第二章 自动测试
- PHPUnit袖珍指南 第六章 装置器
- PHPUnit袖珍指南 第八章 未完成测试
- PHPUnit袖珍指南 第十一章 残根
- PHPUnit袖珍指南-第二章 自动测试
- PHPUnit袖珍指南 第六章 装置器
- PHPUnit袖珍指南 第八章 未完成测试
- PHPUnit袖珍指南 第十一章 残根
- PHPUnit袖珍指南-第三章 PHPUnit的目的
- PHPUnit袖珍指南-第三章 PHPUnit的目的
- PHPUnit袖珍指南-第五章 命令行测试工具
- PHPUnit袖珍指南 第七章 测试异常和性能回归
- 锁定行头和列头的表格组件
- editplus 正则替换实例 By Stabx
- JS表格排序新法
- JS 216网页安全色调色板 DW 风格
- 软件开发规范(PB)
- PHPUnit袖珍指南-概述
- 2006-5-20 SQL 外链接操作小结 inner join & left join & right join
- PHPUnit袖珍指南-第一章 简介
- 服务营销:在老客户身上掘金
- 水晶报表10 开发和部署
- 有了自已装成的LINUX
- PHPUnit袖珍指南-第二章 自动测试
- 个人职业计划的制定
- 构建员工终身职业生涯培训体系