首页> 外文会议>International Conference for Young Computer Scientists >Polymorphism Sequence Diagrams Test Data Automatic Generation Based on OCL
【24h】

Polymorphism Sequence Diagrams Test Data Automatic Generation Based on OCL

机译:多态性序列图测试数据基于OCL的自动生成

获取原文

摘要

The polymorphism is an important character of Object Oriented Design (OOD). However Unified Modeling Language (UML) sequence diagrams can not describe the polymorphism, which lead to lack test data to test polymorphism sequence diagram methods in integration testing. An approach is proposed to formalize polymorphism sequence diagrams and generate test data. According to classes OCL constraints and Satisfying Set rules, the approach got the Class Sets of Polymorphism Methods (CSPM).The approach transformed sequence diagrams into the Polymorphism Class Object Method Acyclic Graph (PCOMDAG). Utilizing the Test Data Automatic Generation (TCAG) algorithm, the approach automatically generated sequence diagram test data. The approach availability was verified by an application example and cases study. The results show that the approach can generate sequence diagram test data to test polymorphism methods and increase the test coverage rate of sequence diagram.
机译:多态性是面向对象设计(OOD)的重要特征。然而,统一建模语言(UML)序列图无法描述多态性,这导致缺少测试数据以测试集成测试中的多态性序列图方法。提出一种方法来形式化多态性序列图并生成测试数据。根据类OCL约束和令人满意的设置规则,该方法得到了多态性方法组(CSPM)。方法将序列图变为多态性类对象方法非循环图(Pcomdag)。利用测试数据自动生成(TCAG)算法,方法自动生成序列图测试数据。应用示例和案例研究验证了方法可用性。结果表明,该方法可以生成序列图测试数据以测试多态性方法并提高序列图的测试覆盖率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号