Dynamic-radius Species-conserving Genetic Algorithm for Test Generation for Structural Testing

نویسندگان

  • Michael Scott Brown
  • Michael J. Pelosi
چکیده

Software testing is a critical and labor-intensive activity in software engineering. Much research has been done to help automate test case generation. This research proposes a new approach to structural test case generation. It uses a specialized genetic algorithm called Dynamic-radius Species-conserving Genetic Algorithm (DSGA) to find a structurally complete set of test cases for the Triangle Classification algorithm. DSGA is a Niche Genetic Algorithm (NGA) that uses a short-term memory structure to store optima. Each individual of the NGA represents the inputs for a test case. The fitness function encourages the algorithm to locate test cases that cover large areas of the structure of the program. A shared fitness encourages the NGA to locate other areas of the structure. DSGA is a novel approach to structurally complete test case generation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing

Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...

متن کامل

Dynamic Hub Covering Problem with Flexible Covering Radius

Abstract One of the basic assumptions in hub covering problems is considering the covering radius as an exogenous parameter which cannot be controlled by the decision maker. Practically and in many real world cases with a negligible increase in costs, to increase the covering radii, it is possible to save the costs of establishing additional hub nodes. Change in problem parameters during the pl...

متن کامل

Use of Evolutionary Techniques for Symbolic Execution Based Testing

Evolutionary methods when used as a test data generator optimize the given input (usually called test case) according to a selected test coverage criterion encoded as a fitness function. Basically, the genetic algorithms and other Evolutionary techniques are based on pure random search. However, these algorithms adapt to the given problem. In the last decade lot of evolution based metaheuristic...

متن کامل

Erratum: A Species Conserving Genetic Algorithm for Multimodal Function Optimization

This paper introduces a new technique called species conservation for evolving parallel subpopulations. The technique is based on the concept of dividing the population into several species according to their similarity. Each of these species is built around a dominating individual called the species seed. Species seeds found in the current generation are saved (conserved) by moving them into t...

متن کامل

Path-oriented test cases generation based adaptive genetic algorithm

The automatic generation of test cases oriented paths in an effective manner is a challenging problem for structural testing of software. The use of search-based optimization methods, such as genetic algorithms (GAs), has been proposed to handle this problem. This paper proposes an improved adaptive genetic algorithm (IAGA) for test cases generation by maintaining population diversity. It uses ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017