大头
Table_bottom

标签云
Table_bottom

分类
Table_bottom

日历
二月
28293031123
45678910
11121314151617
18192021222324
252627282912
Table_bottom

评论
Table_bottom

留言
Table_bottom

微博
Table_bottom

热门文章
Table_bottom

随机文章
Table_bottom

豆瓣上谁关注这里
Table_bottom

链接
Table_bottom

搜索栏
Table_bottom

RSS
RSS Link
Table_bottom

功能
Table_bottom

页面
Table_bottom

计数器
464581
Table_bottom

访客统计
Table_bottom

存档
Table_bottom

代码之美 - 081007

loveisbug posted @ 2008年10月07日 21:01 in 学习 with tags 测试 JUnit , 2133 阅读

《漂亮的测试》这一章很容易阅读,Alberto Savoia介绍如何写测试用例,漂亮的。

他举例说明如何写漂亮的测试代码,这个过程又是如何使被测代码变得更好。其实,更加强调的是程序员本来就应该测试自己的代码。

有多少程序员像画家一样,常常放下笔,站远点,从不同角度,在不同光线下,审视自己的作品呢?

我很少编写程序去测试自己写的函数,我的同事也一样。我们更多依赖运行整个程序检查结果是否正确,依赖测试组的同事们。

作者介绍的是Java程序员常用的JUnit

不要给自己找借口,只要想做,办法总是有的。

挑了几个错误,填写到这里

AP Board Question Pa 说:
2022年9月22日 01:28

Department of School Education, Andhra Pradesh and Various Private & Government School Subject Experts and Teaching Staff have suggested the Practice Model Question Bank for All Languages & Subjects of the Course based on the SCERT & NCERT Syllabus. AP Board Question Paper Pdf Download Department of School Education, Andhra Pradesh and Various Private & Government School Subject Experts and Teaching Staff have suggested the Practice Model Question Bank for All Languages & Subjects of the Course based on the SCERT & NCERT Syllabus.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter