arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1701.06815cs.SE
收藏

基于模型的测试及其自动化评价

One evaluation of model-based testing and its automation

Alexander Pretschner, Wolfgang Prenninger, Stefan Wagner, Christian Kjanel, Martin Baumgartner, Bernd Sostawa, Rüdiger Zölch, Thomas Stauner

摘要:

基于模型的测试依赖于行为模型来生成模型跟踪:实现的输入和预期输出-测试用例。我们使用的汽车网络控制器的案例研究,以评估不同的测试套件的错误检测,模型覆盖率和实现覆盖率。这些套件中的一些是自动生成的,有模型和没有模型,纯粹是随机的,并有专门的功能测试选择标准。其他套件是手动导出的,有或没有手头的模型。自动和手动派生的基于模型的测试套件检测到显着更多的需求错误比手工制作的测试套件,直接从需求。检测到的编程错误的数量并不取决于模型的使用。自动生成的基于模型的测试套件检测到的错误与手工制作的基于模型的套件检测到的错误一样多。基于模型的测试数量增加了六倍,导致检测错误增加了11%。

英文摘要:

Model-based testing relies on behavior models for the generation of model traces: input and expected output---test cases---for an implementation. We use the case study of an automotive network controller to assess different test suites in terms of error detection, model coverage, and implementation coverage. Some of these suites were generated automatically with and without models, purely at random, and with dedicated functional test selection criteria. Other suites were derived manually, with and without the model at hand. Both automatically and manually derived model-based test suites detected significantly more requirements errors than hand-crafted test suites that were directly derived from the requirements. The number of detected programming errors did not depend on the use of models. Automatically generated model-based test suites detected as many errors as hand-crafted model-based suites with the same number of tests. A sixfold increase in the number of model-based tests led to an 11% increase in detected errors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑