A JVM-based Testing Harness for Improving Component Testability
Weifeng Xu, Omar Ariss · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · 2015
Software testing is a critical activity in increasing our confidence of a system under test and improving its quality.The key idea for testing a software application is to minimize the number of faults found in the system.The higher the testability of software, the better our chances to reveal these faults.We introduce a new type of testing harness called GannonJVM that improves the testability of software components.GannonJVM enhances the Java Virtual Machine (JVM) with a predicate analyzer and a bytecode interpreter.Our automated test framework is able to extract and visualize paths from the control flow graph of a given component.We also observe and analyze the predicates in a given a path during runtime.