首页> 外文会议>International Conference on Data and Software Engineering >Test case generation method for Go language
【24h】

Test case generation method for Go language

机译:转移语言的测试案例生成方法

获取原文

摘要

In software industry, the quality of software products should became a primary concern. One of many elements that affects to the software quality is testing. Creating a lot of test cases consumes a lot of time and tedious work. These issues can be solved by create a generator that automates the generation of input test data. Go language, or Golang for short, is a new programming language that developed by Google and has been used by many companies for their projects. However, Golang currently does not have any test generator that is able to generate test data with code coverage adequacy. In this research, we propose a process generation of test cases using Genetic Algorithm for Go language. We also have developed a tool based on this process generation. The tool does not only produce test data, but also the test code. By automating the generation, it is expected to reduce the amount of effort and time to generate manually. We have evaluated this process using eight different Golang source code. We found that the process and tool have facilitated the process of unit testing.
机译:在软件行业中,软件产品的质量应该成为主要关注点。影响软件质量的许多元素之一是测试。创造大量的测试用例消耗了大量的时间和繁琐的工作。可以通过创建自动生成输入测试数据的生成器来解决这些问题。 Go Language,或Golang for Short,是谷歌开发的新编程语言,并被许多公司用于其项目。但是,Golang目前没有任何测试发生器,能够通过代码覆盖方式生成测试数据。在这项研究中,我们提出了使用Go语言的遗传算法的测试用例的过程生成。我们还基于此过程生成开发了一种工具。该工具不仅生成测试数据,还可以生成测试代码。通过自动化生成,预计将减少手动生成的努力和时间。我们使用八个不同的Golang源代码进行了评估了此过程。我们发现该过程和工具已经促进了单元测试的过程。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号