Rule-Based Test Input Generation from Bytecode
Search-based test generators, such as those using genetic algorithms and alternative variable methods, can automatically generate test inputs. They typically rely on fitness functions to calculate fitness scores for guiding the search process. This paper presents a novel rule-based testing (RBT) approach to automated generation of test inputs from Java byte code without using fitness functions. It extracts tagged paths from the control flow graph of given byte code, analyzes and monitors the predicates in the tagged paths at runtime, and generates test inputs using predefined rules. Our case studies show that RBT has outperformed the test input generators using genetic algorithms and alternative variable methods.
Xu, Weifeng; Ding, Tao; and Xu, Dianxiang. (2014). "Rule-Based Test Input Generation from Bytecode". 2014 Eighth International Conference on Software Security and Reliability, 108-117.