Skip to content

Opening book details…

Can I read Generating Test Input with Deep Reinforcement Learning on EtoBox?

Generating Test Input with Deep Reinforcement Learning by Junhwi Kim (KAIST), Minhyuk Kwon (Suresoft Technology), Shin Yoo (KAIST) is a scholarly article available to read on EtoBox.

What is Generating Test Input with Deep Reinforcement Learning about?

Test data generation is a tedious and laborious process. Searchbased Software Testing (SBST) automatically generates test data optimising structural test criteria using metaheuristic algorithms. In essence, metaheuristic algorithms are systematic trial-and-error based on the feedback of fitness function. This is similar to an agent of reinforcement learning which iteratively decides an action based on the current state to maximise the cumulative reward. Inspired by this analogy, this paper investigates the feasibility of employing reinforcement learning in SBST to replace human designed metaheuristic algorithms. We reformulate the software under test (SUT) as an environment of reinforcement learning. At the same time, we present GunPowder, a novel framework for SBST which extends SUT to the environment. We train a Double Deep Q-Networks (DDQN) agent with deep neural network and evaluate the effectiveness of our approach by conducting a small empirical study. Finally, we find that agents can learn metaheuristic algorithms for SBST, achieving 100% branch coverage for training functions. Our study sheds light on the future integration of deep neural network and SBST.

Author
Junhwi Kim (KAIST), Minhyuk Kwon (Suresoft Technology), Shin Yoo (KAIST)
Publisher
ACM
Published
2018
Language
EN

More by Junhwi Kim (KAIST), Minhyuk Kwon (Suresoft Technology), Shin Yoo (KAIST)

Browse all works by Junhwi Kim (KAIST), Minhyuk Kwon (Suresoft Technology), Shin Yoo (KAIST)