VDTest: An Automated Framework to Support Testing for Virtual Devices


The use of virtual devices in place of physical hardware is increasing in activities such as design, testing and debugging. Yet virtual devices are simply software applications, and like all software they are prone to faults. A full system simulator (FSS), is a class of virtual machine that includes a large set of virtual devices -- enough to run the full target software stack. Defects in an FSS virtual device may have cascading effects as the incorrect behavior can be propagated forward to many different platforms as well as to guest programs. In this work we present VDTest, a novel framework for testing virtual devices within an FSS. VDTest begins by generating a test specification obtained through static analysis. It then employs a two-phase testing approach to test virtual components both individually and in combination. It leverages a differential oracle strategy, taking advantage of the existence of a physical or golden device to eliminate the need for manually generating test oracles. In an empirical study using both open source and commercial FSSs, we found 64 faults, 83% more than random testing.

DOI: 10.1145/2884781.2884866

Extracted Key Phrases

8 Figures and Tables

Cite this paper

@article{Yu2016VDTestAA, title={VDTest: An Automated Framework to Support Testing for Virtual Devices}, author={Tingting Yu and Xiao Qu and Myra B. Cohen}, journal={2016 IEEE/ACM 38th International Conference on Software Engineering (ICSE)}, year={2016}, pages={583-594} }