Report Open Access

Run Java Applications and Test Them In-Vivo Meantime

Antonia Bertolino; Guglielmo De Angelis; Breno Miranda; Paolo Tonella

The outcome of test case execution depends on the state of the object under test. While testers can carefully choose meaningful and representative object states for test execution, it is unaffordable to cover the combinatorial space of possible object states exhaustively. An appealing option is to delegate part of the testing activities to the runtime and to execute test cases in the field whenever a new or uncommon state is observed. We have designed and developed Groucho, a framework for in-vivo testing of Java applications. Among the challenges that we faced, the most important ones are isolation of the test session from the user session and minimal performance overhead. Experimental results show that if the activation probability is kept reasonably small (e.g., 10E-4), the impact of the framework is imperceptible (i.e., either statistically insignificant or with a negligible effect size).

Files (1.5 MB)
Name Size
1.5 MB Download
All versions This version
Views 2828
Downloads 4141
Data volume 61.6 MB61.6 MB
Unique views 2424
Unique downloads 3838


Cite as