首页> 外文会议>International Academic and Industrial Conference >An Open-Source Tool for Automated Generation of Black-Box xUnit Test Code and Its Industrial Evaluation
【24h】

An Open-Source Tool for Automated Generation of Black-Box xUnit Test Code and Its Industrial Evaluation

机译:用于自动生成黑匣子XUnit测试代码的开源工具及其工业评估

获取原文

摘要

The body of knowledge in the area of black-box unit testing is quite well established, e.g., the concepts of category partitioning, boundary value analysis, and pair-wise testing. However, tool support to apply the existing techniques in large-scale industrial software projects is fairly limited. Although tools such as HexaWise enable testers in automatic generation of all-combination pair-wise test input data, nevertheless converting them to actual test case source code (e.g., in NUnit) is both very tedious and also error prone. To address the above challenge, we have developed an open-source tool, referred to as AutoBBUT, for automated generation of black-box NUnit test cases for the C# .Net platform. Evaluation of the tool in an industrial setting by using it to automatically generate more than 1,962 NUnit test cases (having 15,906 test line of code) in NUnit shows the effectiveness of the tool in saving testers a lot of time and also preventing unwanted defects and/or test smells in test code, which can occur due to manual test code development.
机译:黑箱单元测试领域的知识体系完全确立,例如,类别分区,边界值分析和配对测试的概念。但是,在大型工业软件项目中应用现有技术的工具支持相当有限。虽然Heprawise等工具在自动生成的所有组合对测试输入数据中使能测试仪能够将它们转换为实际测试用例源代码(例如,在NUnit中)既非常繁琐,也易于出错。为解决上述挑战,我们开发了一个由C#.NET平台的黑匣子NUNIT测试用例的自动生成AutoBut的开源工具。通过使用它在工业环境中评估工具以自动生成1,962个以上的Nunit测试用例(在Nunit中具有15,906个测试线)显示了该工具在节省大量时间内的工具的有效性,并且还可以防止不需要的缺陷和/或测试代码中的嗅觉,由于手动测试代码开发可能发生。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号