51Testing软件测试论坛

标题: 问一个测试用例数量的问题 [打印本页]

作者: 李才军    时间: 2006-5-11 13:10
标题: 问一个测试用例数量的问题
测试用例数量与代码之间的关系?
我个人认为,主要看代码要实现什么功能,没有什么联系,开发部门却说,有关心,还请大家,赐教。

MSN:jason-dsr@hotmail.com
e -mail : licaijun@gmail.com
作者: 慢慢变胖    时间: 2006-5-11 15:16
与代码没有太大关系,不过与function points有一定联系, 请参考

by David Longstreet

There is a strong relationship between the number of test cases and the number of function points.  As expected there is a strong relationship between the number of defects and the number of test cases and number of function points.

The number of acceptance test cases can be estimated by multiplying the number of function points by 1.2.  Like function points, acceptance test cases should be independent of technology and implementation techniques.

For example, if a software project was 100 function points the estimated number of test cases would be 120.  To estimate the number of potential defects is more involved.  

Estimating Defects

Intuitively the number of maximum potential defects is equal to the number of acceptance test cases which is 1.2 x Function Points.
作者: jihuli5    时间: 2006-6-4 18:29
有一定关系,就是个测试用例密度的问题了,也就是多少个用例/KLOC
作者: robinly    时间: 2006-6-7 22:13
你的用例怎么说也是按他的代码来写的呀




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2