Using orthogonal matrix to design test spec.

  Before yesterday,I wrote an article named the balance of the number of specs and the coverage of testing.In that article,we talk about a testing method--orthogonal matrix.This time I'll talk about the detail for it.

  As I said in the last article,we always in front of inputing multiple values into different textboxes.For instance,there have two value to test five textboxes,if execute total testing,the collection is same with the knowledge of scatter math.There have 2 power 5 different results.Suppose,there have more value and more textboxes.What is the result?It will increaseing by exponential.That will a really big number.
  So let us see the orthogonal method.It choose some representative gather to test base on orthogonal from total testing.Firstly,it has several basic concptions of it.Factor,it's the pre-test textbox.Level,the value need to input into the factor.Runs,the number of line,namely,testing times,the number of collections.Factors,the number of columns.Levels,the biggest number of any single factor,namely,how many values the textbox can be inputted.The format of it is L(Runs)[Levels power Factors].Secondly,the step of using orthogonal to design test spec.Study how many factor;how many level for each factor;choose a fit orthogonal table;mapping the value of factor into table;every line instead of a spec,which a collection of factor;at last,you can add some spec which you think need test.
  Now,in above these question,I believe the key step is choosing a orthogonal table.There are three points need to focus on.A table is consists of factor,levle,and runs.On second thoughts,there are three instances.The number of factor and the number of levle for each factor are same;The number of factor isn't same;the number of level isn't same.For the first point,have same number of factor and level,this is fit for an orthogonal table.The seconde point,level is same in table,but the factor has different value,in this case,the number of factor should bigger than the actual value.At last,the number of level of each factor isn't same.
  As I haven't understand the whole principle of it,I must stop here today.Above these are some primary knowledge of it,just for your infomation.I'll go on studying it,so you'll see some new in recently.Thanks your attention!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值