Pairwise Testing Cases sets division

There is an explaination about pairwise testing Here.

 

Actually, the testcases designed with pairwise can be different.  I do not won't to explain the algorithm behind how to get a pairwise test cases. I just give an example on how to get all the sets of test cases.

 

Give we have 3 fields with values:

Field 1Field 2Field3
1aA
2bB
3cC

 

 

If we use 2 as the factor. Then below are 3 sets of testcases we can get:

Field1
Field2
Field3
1
a
A
1
b
B
1
c
C
2
a
C
2
b
B
2
c
A
3
a
B
3
b
C
3
c
A

 

 

 

Field1
Field2
Field3
3
a
A
1
b
A
2
c
A
2
a
B
3
b
B
1
c
B
1
a
C
2
b
C
3
c
C

 

Field1
Field2
Field3
2
a
A
1
a
B
3
a
C
3
b
C
2
b
B
1
b
A
1
c
B
3
c
C
2
c
A

 

 

These 3 sets of test cases have the same test coverage. They are equal in test effect if we do not consider the weight.

 

If we union all these 3 sets of cases, then we get the full coverage of the test.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值