...
首页> 外文期刊>Software, IET >Evaluation of a model-based testing platform for Java applications
【24h】

Evaluation of a model-based testing platform for Java applications

机译:评估Java应用程序的模型测试平台

获取原文
获取原文并翻译 | 示例
           

摘要

Model-based testing (MBT) automates the design and generation of test cases from a model. This process includes model building, test selection criteria, test case generation, and test case execution stages. Current tools support this process at various levels of automation, most of them supporting three out of four stages. Among them is MBT4J, a platform that extends ModelJUnit with several techniques, offering a high level of automation for testing Java applications. In this study, the authors evaluate the efficacy of the MBT4J platform, in terms of the number of test cases generated, errors detected, and coverage metrics. A case study is conducted using two open-source Java systems from public repositories, and 15 different configurations. MBT4J was able to automatically generate five models from the source code. It was also able to generate up to 2025 unique test cases for one system and up to 1044 for the other, resulting in 167 and 349 failed tests, respectively. Transition and transition pair coverage reached 100% for all models. Code coverage ranged between 72 and 84% for the one system and between 59 and 76% for the other. The study found that Greedy and Random were the most effective testers for finding errors.
机译:基于模型的测试(MBT)自动执行模型的设计和生成测试用例。此过程包括模型构建,测试选择标准,测试用例生成和测试用例执行阶段。目前的工具支持此过程在各种自动化层次,其中大部分支持四个阶段三个阶段。其中包括MBT4J,一个具有多种技术的ModelJunit的平台,为测试Java应用程序提供了高度自动化。在这项研究中,作者评估了MBT4J平台的功效,就生成的测试用例的数量,检测到的错误和覆盖度量。使用来自公共存储库的两个开源Java系统和15个不同配置进行案例研究。 MBT4J能够从源代码自动生成五个型号。它还能够为另一个系统产生高达2025个独特的测试用例,另一个为另一个系统和最多1044个,导致167和349的测试失败。所有型号的过渡和过渡对覆盖范围达到100%。代码覆盖范围在72到84%之间,另一个系统之间的59%和76%之间。该研究发现,贪婪和随机是寻找错误的最有效的测试人员。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号