google搜索 站内搜索                 软件测试门户 | 软件测试培训 | 文章资料精选 | 软件测试论坛 | 测试解决方案 | 软件测试博客 | 测试招聘求职 
打印

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

My Job Is *Not* To Write Test Cases


链接请见:
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.
我不想不想长大
长大后就没树爬
我不想不想长大
长大后就没牙刷
我只想做一只快乐的koala。。。。。。

TOP

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 ?

TOP

Thanks to poster!
by the way, the writer is Michael ,not Micahel
品茗松月下,静以历人生。

TOP

我很赞成他用的“我们”,开发人员和测试人员是一个团队,大家更好的合作才是最重要的。
引用:
原帖由 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 ...
我不想不想长大
长大后就没树爬
我不想不想长大
长大后就没牙刷
我只想做一只快乐的koala。。。。。。

TOP

 
当前时区 GMT+8, 现在时间是 2008-11-23 21:01Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹