Unknown

Dataset Information

0

Optimal path test data generation based on hybrid negative selection algorithm and genetic algorithm.


ABSTRACT: Path testing is the basic approach of white box testing and the main approach to solve it by discovering the particular input data of the searching space to encompass the paths in the software under test. Due to the increasing software complexity, exhaustive testing is impossible and computationally not feasible. The ultimate challenge is to generate suitable test data that maximize the coverage; many approaches have been developed by researchers to accomplish path coverage. The paper suggested a hybrid method (NSA-GA) based on Negative Selection Algorithm (NSA) and Genetic Algorithm (GA) to generate an optimal test data avoiding replication to cover all possible paths. The proposed method modifies the generation of detectors in the generation phase of NSA using GA, as well as, develops a fitness function based on the paths' prioritization. Different benchmark programs with different data types have been used. The results show that the hybrid method improved the coverage percentage of the programs' paths, even for complicated paths and its ability to minimize the generated number of test data and enhance the efficiency even with the increased input range of different data types used. This method improves the effectiveness and efficiency of test data generation and maximizes search space area, increasing percentage of path coverage while preventing redundant data.

SUBMITTER: Mohi-Aldeen SM 

PROVIDER: S-EPMC7703959 | biostudies-literature | 2020

REPOSITORIES: biostudies-literature

altmetric image

Publications

Optimal path test data generation based on hybrid negative selection algorithm and genetic algorithm.

Mohi-Aldeen Shayma Mustafa SM   Mohamad Radziah R   Deris Safaai S  

PloS one 20201130 11


Path testing is the basic approach of white box testing and the main approach to solve it by discovering the particular input data of the searching space to encompass the paths in the software under test. Due to the increasing software complexity, exhaustive testing is impossible and computationally not feasible. The ultimate challenge is to generate suitable test data that maximize the coverage; many approaches have been developed by researchers to accomplish path coverage. The paper suggested  ...[more]

Similar Datasets

| S-EPMC5685491 | biostudies-literature
| S-EPMC8646624 | biostudies-literature
| S-EPMC6193671 | biostudies-other
| S-EPMC11359329 | biostudies-literature
| S-EPMC5528885 | biostudies-literature
| S-EPMC7140671 | biostudies-literature
| S-EPMC7872252 | biostudies-literature
| S-EPMC8147911 | biostudies-literature
| S-EPMC9044222 | biostudies-literature
| S-EPMC10280545 | biostudies-literature