Test Execution: Test Group

上一篇 / 下一篇  2007-05-10 23:00:33 / 个人分类:测试技术

查看( 1005 ) / 评论( 2 )
Now I am talking about testing process.
In a complicated test project, some test scrīpts could only be executed in a certain
sequence. This is due to the nature of the test target. To modify those test scrīpts
independant to eachother, could be possible, but will involve too much overhead, i.e,
cost quit high and it is not worthy of doing that way.

To utilise the advantage of independant test scrīpt, we can group those scrīpt which
have internal execution sequence together, this is called "Test Group". (Note, this
is defined within testing process context) Different test groups should maintain the
total independance to eachother, which within the same group, the member scrīpts must
be run in fix sequence.

This way, we can maximize the scrīpt indepency with minized effort of scrīpt
modification.

TAG: 测试技术

walker1020的个人空间 walker1020 发布于2007-05-11 08:35:23
楼主提出了Test Group 这个概念很好。楼主能否结合实例来具体讲解一下?
梦呓 hobli 发布于2007-05-11 21:48:43
好,那么我就举一个例子。
就以SIM卡应用为例,
1 我们要测试一个特殊命令x, 执行这个命令,SIM卡会内部自动生成一个文件系统F。
2 特殊命令Y, 在文件系统F下,会反馈信息N.
3 特殊命令Z, SIM卡会反馈信息M.
我们可以设计3个完全独立的案例,对于第二个,
我们必须预先生成文件系统F,而且不可使用命令X,(否则失去独立性了),但师生成这个文件系统,可能需要较繁琐的命令,需要较长的时间。如果我们把1根2归为同一个测试组,用1生成的文件系统F作为2的preCondition,那么,就方便多了。
这样,我们就有了2个组,组一有案例1根案例2组成,组二只有案例3,这两个组是完全独立的,完全可以平行测试,测试结果也不互为影响。

当然,这个例子有点简单,只是为了说明问题。
我来说两句

(可选)

Open Toolbar