Redirigiendo al acceso original de articulo en 18 segundos...
Inicio  /  Information  /  Vol: 10 Par: 12 (2019)  /  Artículo
ARTÍCULO
TITULO

A Genetic Algorithm-Based Approach for Composite Metamorphic Relations Construction

Zhenglong Xiang    
Hongrun Wu and Fei Yu    

Resumen

The test oracle problem exists widely in modern complex software testing, and metamorphic testing (MT) has become a promising testing technique to alleviate this problem. The inference of efficient metamorphic relations (MRs) is the core problem of metamorphic testing. Studies have proven that the combination of simple metamorphic relations can construct more efficient metamorphic relations. In most previous studies, metamorphic relations have been mainly manually inferred by experts with professional knowledge, which is an inefficient technique and hinders the application. In this paper, a genetic algorithm-based approach is proposed to construct composite metamorphic relations automatically for the program to be tested. We use a set of relation sequences to represent a particular class of MRs and turn the problem of inferring composite MRs into a problem of searching for suitable sequences. We then dynamically implement multiple executions of the program and use a genetic algorithm to search for the optimal set of relation sequences. We conducted empirical studies to evaluate our approach using scientific functions in the GNU scientific library (abbreviated as GSL). From the empirical results, our approach can automatically infer high-quality composite MRs, on average, five times more than basic MRs. More importantly, the inferred composite MRs can increase the fault detection capabilities by at least 30% 30 % more than the original metamorphic relations.

 Artículos similares

       
 
Haida Zhang and Wensi Ding    
In this paper, we research the dynamic car sequencing problem with car body buffer (DCSPwB) in automotive mixed-flow assembly. The objective is to reorder the sequence of cars in the paint shop using the post-painted body buffers to minimize the violatio... ver más
Revista: Applied Sciences

 
Ye Sun, Qing Chen, Dan Xie, Ning Shao, Wei Ding and Yuzhan Dong    
This paper puts forward a fault location method combining the improved matrix algorithm and the genetic tabu algorithm based on multi-source information in view of the limitation of existing fault location methods in active distribution networks, such as... ver más
Revista: Applied Sciences

 
Fei Yu, Bang Liang, Bo Tang and Hongrun Wu    
The Interior layout model is to optimize the arrangement position of each room to maximize the comfort and quality of life of residents. Due to the complexity of the Interior layout problem, the computation of fitness function costs lots of time. To redu... ver más
Revista: Algorithms

 
Qi Deng and Feng Zeng    
In big cities, there are more and more parking lots and charging piles for electric vehicles, and the resources of parking and charging vehicles can be aggregated to provide strong computing power for vehicular edge computing (VEC). In this paper, we pro... ver más
Revista: Applied Sciences

 
Botang Li, Qiong Chen, Yui-yip Lau and Maxim A. Dulebenets    
This study proposes a novel fuzzy programming optimization model for tugboat scheduling, directly considering multiple berthing bases, time windows, and operational uncertainties. The uncertainties in the required number of tugboats, the earliest start t... ver más