Bet and Run for Test Case Generation

08/03/2020
by   Sebastian Müller, et al.
0

Anyone working in the technology sector is probably familiar with the question: "Have you tried turning it off and on again?", as this is usually the default question asked by tech support. Similarly, it is known in search based testing that metaheuristics might get trapped in a plateau during a search. As a human, one can look at the gradient of the fitness curve and decide to restart the search, so as to hopefully improve the results of the optimization with the next run. Trying to automate such a restart, it has to be programmatically decided whether the metaheuristic has encountered a plateau yet, which is an inherently difficult problem. To mitigate this problem in the context of theoretical search problems, the Bet and Run strategy was developed, where multiple algorithm instances are started concurrently, and after some time all but the single most promising instance in terms of fitness values are killed. In this paper, we adopt and evaluate the Bet and Run strategy for the problem of test case generation. Our work indicates that use of this restart strategy does not generally lead to gains in the quality metrics, when instantiated with the best parameters found in the literature.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/19/2019

Does Diversity Improve the Test Suite Generation for Mobile Applications?

In search-based software engineering we often use popular heuristics wit...
research
12/05/2019

Is perturbation an effective restart strategy?

Premature convergence can be detrimental to the performance of search me...
research
02/09/2021

Learning How to Search: Generating Effective Test Cases Through Adaptive Fitness Function Selection

Search-based test generation is guided by feedback from one or more fitn...
research
10/20/2020

What is Lead Generation? Strategy and Best Practices

Learn how lead generation fits into your inbound #marketing strategy and...
research
06/23/2018

An Improved Generic Bet-and-Run Strategy for Speeding Up Stochastic Local Search

A commonly used strategy for improving optimization algorithms is to res...
research
06/25/2018

Diversified Late Acceptance Search

The well-known Late Acceptance Hill Climbing (LAHC) search aims to overc...
research
12/28/2020

A Comprehensive Empirical Evaluation of Generating Test Suites for Mobile Applications with Diversity

Context: In search-based software engineering we often use popular heuri...

Please sign up or login with your details

Forgot password? Click here to reset