GRT: An Automated Test Generator Using Orchestrated Program Analysis
Authors:
- Lei MaLMLei Ma
- Cyrille ArthoCACyrille Artho
- Cheng ZhangCZCheng Zhang
- Hiroyuki SatoHSHiroyuki Sato
- Johannes GmeinerJGJohannes Gmeiner
- Rudolf RamlerRRRudolf Ramler
- 1 November 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
Abstract
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.Keywords
This publication has 32 references indexed in Scilit:
- An orchestrated survey of methodologies for automated software test case generationJournal of Systems and Software, 2013
- Reim & ReImInferACM SIGPLAN Notices, 2012
- A survey of new trends in symbolic execution for software testing and analysisInternational Journal on Software Tools for Technology Transfer, 2009
- CUTE and jCUTE: Concolic Unit Testing and Explicit Path Model-Checking Tools2006
- CUTEACM SIGSOFT Software Engineering Notes, 2005
- DARTACM SIGPLAN Notices, 2005
- Symstra: A Framework for Generating Object-Oriented Unit Tests Using Symbolic Execution2005
- JCrasher: an automatic robustness tester for JavaSoftware: Practice and Experience, 2004
- Search‐based software test data generation: a surveySoftware Testing, Verification and Reliability, 2004
- On Testing Non-Testable ProgramsThe Computer Journal, 1982