第一范文网 - 专业文章范例文档资料分享平台

软件测试参考文献(4)

来源:用户分享 时间:2021-06-02 本文由伉俪情深 分享 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

软件测试

soon as the rst cut of the design requirements speci cationbecomes available, even before the speci cation is released.Having the test set produced very early in the design cycleby an independent person allows a more-objective look atthe completeness and clarity of the software/hardware def-inition. The result is a more-reliable design.

If a speci cation remains the same during the design cycle,the RTM-generated test sequence does not change even if theparticular implementation changes. Hence our up-front workis not lost. Sometimes the design speci cation changes late inthe design phase due to changing hardware requirements ornew customer speci cations. Even in these cases, once RTMis used for test set generation, reapplying it takes much lesstime than what traditional test generation methods require.

3.If the phone is Off, and the TV is switched On, every-thing else is Off.

4.If both the phone and the TV are Off, and the CD play-er is switched On, the radio and the tape deck are Off.5.If the phone, the TV, and the CD player are Off, and thetape is switched On, the radio is Off.Once we understand these interdependencies, we areready to set up the test set. We know that we have six fac-tors (inputs), each with two levels. As in any other testmethod, we must start from an initial level, called the over-all mean,for all the factors. The overall mean will representthe rst test. We will need additional tests to cover all theother factor levels not covered in the original test. Thus, wewill need at least one more level for each factor—that is,each factor has one more degree of freedom. Hence, theminimum number of tests, or the total number of degrees offreedom,is Nfr= 1 + 6 ×(2 1) = 7.

Another parameter to consider in calculating the mini-mum number of tests needed is the product of the numberof levels of the two highest-level count factors, or Ph. In ourexample, all the factors have two levels; hence, Ph= 2 ×2 =4. The minimum number of tests is Tmin= MAX (Nfr, Ph), whichin our example is 7.

As mentioned before, RTM uses orthogonal arrays to de- ne the optimum factor combinations to achieve a balancedcoverage of the test space. One can find these arrays inbooks dealing with the design of experiments (Ross1andPhadke,2for example). The arrays are matched to the prob-lem according to the number of tests and the number of fac-tors needed in the orthogonal array, as well as the number

The methodology

To understand RTM, consider a very simple, hypotheticalaudio system. The system consists of a number of differentaudio components: a radio, a phone, a tape deck, a CD play-er, and a TV set. These components can be in On or Offstates. All the devices can function only when the ignitionkey is On, so we consider the ignition key’s state anothervariable, or factor. Table 2 presents a synopsis of the inputfactors and their levels(the values taken by the factors), sort-ed according to priorities defined in the system require-ments. We refer to this as version A of our system de nition.The different factors have certain functional priorities:1.If the ignition key is in the Off position, everything elseis Off.

2.If the phone is On, everything else is Off.

JULY–SEPTEMBER 199955

搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新人文社科软件测试参考文献(4)全文阅读和word下载服务。

软件测试参考文献(4).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/wenku/1194130.html(转载请注明文章来源)
热门推荐
Copyright © 2018-2022 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top