Title :
Automated Conformance Testing of Java Virtual Machines
Author :
Calvagna, Andrea ; Tramontana, Emiliano
Author_Institution :
Dipt. di Mat. e Inf., Univ. of Catania - Italy, Catania, Italy
Abstract :
We present a technique to fully automate the conformance testing of a Java virtual machine (JVM) implementation to the structural constraints it must satisfy to enforce type safety of program execution. The approach is based on formal modeling of the JVM as a finite state machine, ruled by the Java standard specifications. The model is used to derive a test suite and corresponding oracle that systematically explores the space of illegal states reachable by a JVM implementation under test. Also, a degree of conformance to the JVM specifications (i.e., too strict or too coarse) can be assessed by counting the number of false positives. Despite the huge test space, the entire proposed process need not human supervision. The technique is black box, fully automated, and can be applied for validating final products or during development i.e. for debugging purposes.
Keywords :
Java; conformance testing; finite state machines; formal specification; program testing; virtual machines; JVM specifications; Java standard specifications; Java virtual machine; automated conformance testing; finite state machine; formal modeling; oracle; program execution type safety; structural constraints; test suite; Abstracts; Computational modeling; Java; Load modeling; Safety; Testing; Virtual machining; Java; Software engineering; formal methods; software testing;
Conference_Titel :
Complex, Intelligent, and Software Intensive Systems (CISIS), 2013 Seventh International Conference on
Conference_Location :
Taichung
Print_ISBN :
978-0-7695-4992-7
DOI :
10.1109/CISIS.2013.99