دورية أكاديمية

An Adaptive Search Budget Allocation Approach for Search-Based Test Case Generation

التفاصيل البيبلوغرافية
العنوان: An Adaptive Search Budget Allocation Approach for Search-Based Test Case Generation
المؤلفون: Scalabrino, Simone, Mastropaolo, Antonio, Bavota, Gabriele, Oliveto, Rocco
المساهمون: Scalabrino, Simone, Mastropaolo, Antonio, Bavota, Gabriele, Oliveto, Rocco
سنة النشر: 2021
المجموعة: Università degli Studi del Molise: IRIS
مصطلحات موضوعية: Search budget allocation, test case generation
الوصف: Search-based techniques have been successfully used to automate test case generation. Such approaches allocate a fixed search budget to generate test cases aiming at maximizing code coverage. The search budget plays a crucial role; due to the hugeness of the search space, the higher the assigned budget, the higher the expected coverage. Code components have different structural properties that may affect the ability of search-based techniques to achieve a high coverage level. Thus, allocating a fixed search budget for all the components is not recommended and a component-specific search budget should be preferred. However, deciding the budget to assign to a given component is not a trivial task. In this article, we introduce Budget Optimization for Testing (BOT), an approach to adaptively allocate the search budget to the classes under test. BOT requires information about the branch coverage that will be achieved on each class with a given search budget. Therefore, we also introduce BRANCHOS, an approach that predicts coverage in a budget-aware way. The results of our experiments show that (i) BRANCHOS can approximate the branch coverage in time with a low error, and (ii) BOT can significantly increase the coverage achieved by a test generation tool and the effectiveness of generated tests.
نوع الوثيقة: article in journal/newspaper
اللغة: English
العلاقة: volume:30; issue:3; firstpage:1; lastpage:26; numberofpages:26; journal:ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY; https://hdl.handle.net/11695/106629Test; info:eu-repo/semantics/altIdentifier/scopus/2-s2.0-85105719732
DOI: 10.1145/3446199
الإتاحة: https://doi.org/10.1145/3446199Test
https://hdl.handle.net/11695/106629Test
رقم الانضمام: edsbas.8F148954
قاعدة البيانات: BASE