51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3040|回复: 3
打印 上一主题 下一主题

[转贴] My Job Is *Not* To Write Test Cases

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-4-14 02:06:05 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
链接请见:
http://blogs.msdn.com/micahel/ar ... WriteTestCases.aspx
skinapi注:
大家可以注意下面红色的部分。

My Job Is *Not* To Write Test Cases
"But my job is to write test cases!" my friend said, almost plaintively. We were discussing the huge amount of work we have to do and the not-nearly-enough time in which we have to do it. I was relating my strategy: get my developers to do all the testing! Dev is going to be doing unit testing anyway, I figure, so I may as well get them to do as much of my testing as possible. It's a matter of best leveraging my skills and time. Given the choice between spending ten hours writing tests myself, or spending that same amount of time working with ten developers to brainstorm ten sets of test cases that they write after I leave, I'll take the latter every time!

"Wait a minute", you may be thinking. "You seem to be saying that your time is more important than your developers' time. That's rather arrogant, don't you think?"

It's not that anybody's time is more important than anybody else's time. My job is not to write test cases. Likewise, my developers' job is not to write code. Our job is to create a high quality application that solves our customers' problems. That's it, full stop.

The best way I know to do that is to keep the quality high at every step along the way. So I help my feature team think through ideas before they're ever written down, when bugs are trivial to fix. I test my specifications before they're codified into code, when bugs are easy to fix. I work with my developers to identify unit tests that will catch bugs before they're checked in, when they are still fairly cheap to fix. And of course I execute a plethora of manual and automated test cases on my application, when bugs cost more to fix but haven't yet affected customers.

So yes, my developers write lots of code. And yes, I certainly write many many test cases. But that's not what we're being graded on. And that's why writing test cases is *not* my job.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2006-4-14 09:50:02 | 只看该作者

Advice:the following sentence could write in red ,that's the main idea.

Given the choice between spending ten hours writing tests myself, or spending that same amount of time working with ten developers to brainstorm ten sets of test cases that they write after I leave, I'll take the latter every time!


do you  agree with it ?
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2006-4-14 14:22:43 | 只看该作者
Thanks to poster!
by the way, the writer is Michael ,not Micahel
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2006-4-14 22:15:43 | 只看该作者
我很赞成他用的“我们”,开发人员和测试人员是一个团队,大家更好的合作才是最重要的。
原帖由 hyaabb 于 2006-4-14 09:50 发表
Given the choice between spending ten hours writing tests myself, or spending that same amount of time working with ten developers to brainstorm ten sets of test cases that they write after I leave ...
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-13 15:11 , Processed in 0.071535 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表