首页> 外文会议>IFIP WG 6.1 International Conference on Testing Software and Systems >Using Model Learning for the Generation of Mock Components
【24h】

Using Model Learning for the Generation of Mock Components

机译:利用模型学习来生成模拟组件

获取原文

摘要

Mocking objects is a common technique that substitutes parts of a program to simplify the test case development, to increase test coverage or to speed up performance. Today, mocks are almost exclusively used with object oriented programs. But mocks could offer the same benefits with communicating systems to make them more reliable. This paper proposes a model-based approach to help developers generate mocks for this kind of system, i.e. systems made up of components interacting with each other by data networks and whose communications can be monitored. The approach combines model learning to infer models from event logs, quality metric measurements to help chose the components that may be replaced by mocks, and mock generation and execution algorithms to reduce the mock development time. The approach has been implemented as a tool chain with which we performed experimentations to evaluate its benefits in terms of usability and efficiency.
机译:嘲笑对象是一种常用的技术,替代程序的部分来简化测试用例开发,以提高测试覆盖或加速性能。 如今,模型几乎完全与面向对象的程序一起使用。 但模拟可以提供与沟通系统相同的好处,使其更加可靠。 本文提出了一种基于模型的方法来帮助开发人员为这种系统生成模型,即由数据网络彼此交互的组件,并且可以监控其通信的系统组成。 该方法将模型学习与事件日志中的模型进行了推断,质量度量测量值,以帮助选择可能被模型替换的组件,以及模拟生成和执行算法以减少模拟开发时间。 该方法已实施为一种工具链,我们执行了实验,以评估其在可用性和效率方面的益处。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号