51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 3033|回复: 2
打印 上一主题 下一主题

[原创] Test Execution: Test Group

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2007-5-10 23:00:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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 that it is defined within testing process context.  Different test groups should maintain the total independance to each other, which within the same group, the member scrīpts must be run in fixed sequence.

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

[ 本帖最后由 walker1020 于 2007-5-11 08:34 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    开心
    2016-2-27 08:48
  • 签到天数: 2 天

    连续签到: 1 天

    [LV.1]测试小兵

    2#
    发表于 2007-5-11 08:35:23 | 只看该作者
    楼主提出了Test Group 这个概念很好。楼主能否结合实例来具体讲解一下?
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    3#
     楼主| 发表于 2007-5-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,这两个组是完全独立的,完全可以平行测试,测试结果也不互为影响。

    当然,这个例子有点简单,只是为了说明问题。
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-5-17 08:46 , Processed in 0.073306 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表