GRT: An automated test generator using orchestrated program analysis

Authors Lei Ma
Cyrille Artho
Cheng Zhang
Hiroyuki Sato
Johannes Gmeiner
Rudolf Ramler
Title GRT: An automated test generator using orchestrated program analysis
Booktitle Proceddings of the 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE 2015)
Type in proceedings
Publisher IEEE
ISBN 978-1-5090-0025-8
DOI 10.1109/ASE.2015.102
Month November
Year 2015
Pages 842-847
SCCH ID# 1549

While being highly automated and easy to use, existing techniques of random testing suffer from low code coverage and defect detection ability for practical software applications. Most tools use a pure black-box approach, which does not use knowledge specific to the software under test. Mining and leveraging the information of the software under test can be promising to guide random testing to overcome such limitations.

Guided Random Testing (GRT) implements this idea. GRT performs static analysis on software under test to extract relevant knowledge and further combines the information extracted at run-time to guide the whole test generation procedure. GRT is highly configurable, with each of its six program analysis components implemented as a pluggable module whose parameters can be adjusted. Besides generating test cases, GRT also automatically creates a test coverage report. We show our experience in GRT tool development and demonstrate its practical usage using two concrete application scenarios.