...
首页> 外文期刊>Computer Modeling in Engineering & Sciences >An Automated Approach to Generate Test Cases From Use Case Description Model
【24h】

An Automated Approach to Generate Test Cases From Use Case Description Model

机译:从用例描述模型生成测试用例的自动化方法

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

获取外文期刊封面封底 >>

       

摘要

Test complexity and test adequacy are frequently raised by software developers and testing agents. However, there is little research works at this aspect on specification-based testing at the use case description level. Thus, this research proposes an automatic test cases generator approach to reduce the test complexity and to enhance the percentage of test coverage. First, to support the infrastructure for performing automatic, this proposed approach refines the use cases using use case describing template and save it in the text file. Then, the saved file is input to the Algorithm of Control Flow Diagram (ACFD) to convert use case details to a control flow diagram. After that, the Proposed Tool of Generating Test Paths (PTGTP) is used to generate test cases from the control flow diagram. Finally, the genetic algorithm associated with transition coverage is adapted to optimize and evaluate the adequacy of such test cases. A money withdrawal use case in the ATM system is used as an ongoing case study. Preliminary results show that the generated test cases achieve high coverage with an optimal test case. This automatic test case generation approach is effective and efficient. Therefore, it could promote to use other test case coverage criteria.
机译:测试复杂性和测试充足性经常由软件开发人员和测试代理提出。但是,在使用案例描述级别的基于规范的测试中,这方面几乎没有研究工作。因此,本研究提出了一种自动测试用例的发生器方法来降低测试复杂性并提高测试覆盖的百分比。首先,为了支持自动执行的基础结构,这种建议的方法使用使用案例描述模板并将其保存在文本文件中的使用情况。然后,将保存的文件输入到控制流程图(ACFD)的算法,以将用案例细节转换为控制流程图。之后,使用所提出的生成测试路径(PTGTP)的工具用于从控制流程图生成测试用例。最后,与转换覆盖相关的遗传算法适于优化和评估这种测试用例的充分性。 ATM系统中的退出用例用作持续的案例研究。初步结果表明,生成的测试用例可实现高覆盖率,具有最佳的测试用例。这种自动测试案例生成方法是有效且有效的。因此,它可以促进使用其他测试用例覆盖标准。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号