首页> 外文期刊>Advanced Science Letters >A Test Suite Reduction Approach for Software Unit Testing
【24h】

A Test Suite Reduction Approach for Software Unit Testing

机译:软件单元测试的测试套件减少方法

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

摘要

Software testing is usually starts with the Unit testing phase. The goal of unit testing is to reveal logic and implementation errors in each unit. The unit testing process is usually costly and time-consuming especially when the system under test is very large. In addition, becauseof the time pressures, the testing team may not find time to fully test the product. Therefore, identifying the units that have most of the errors helps the testing team to focus on testing them to save time and resources. In this paper, we propose an approach for unit testing that weightseach method using a combination of static object-oriented metrics. The proposed approach predicts the number of test cases necessary to test system methods. It assumes that complex methods contain more errors which require executing more test cases to test the complex methods. The goal ofthis work is to help software developers where to dedicate their available resources when performing unit testing. The experimental results on the studied Java systems show that how small number of test cases are needed and how those test cases detect a high percentage of errors.
机译:软件测试通常以单元测试阶段开头。单元测试的目标是揭示每个单元中的逻辑和实现错误。单位测试过程通常是昂贵且耗时的,特别是当被测系统非常大时。此外,由于时间压力,测试团队可能无法找到时间来完全测试产品。因此,识别具有大多数错误的单位有助于测试团队专注于测试它们以节省时间和资源。在本文中,我们提出了一种使用静态面向对象度量的组合来测试权重展示方法的方法。该方法预测测试系统方法所需的测试用例的数量。它假设复杂的方法包含更多错误,需要执行更多测试用例来测试复杂方法。本工作的目标是帮助软件开发人员在执行单元测试时在哪里致专用其可用资源。研究的Java系统上的实验结果表明,需要少量的测试用例以及那些测试用例如何检测到高百分比的错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号