Abstract
We present the test case generation method and tool KeY-TestGen in the context of real-time Java applications and libraries. The generated tests feature strong coverage criteria, like the Modified Condition/Decision Criterion, by construction. This is achieved by basing the test generation on formal verification techniques, namely the KeY system for Java source code verification. Moreover, we present formal specifications for the classes and methods in the real-time Java API. These specifications are used for symbolic execution when generating tests for real-time Java applications, and for oracle construction when generating tests for realtime Java library implementations. The latter application exhibited a mismatch between a commercial library implementation and the official RTSJ documentation. Even if there is a rationale behind this particular inconsistency, it demonstrates the effectiveness of our method on production code.
Original language | English |
---|---|
Title of host publication | JTRES '12 |
Subtitle of host publication | Proceedings of the 10th International Workshop on Java Technologies for Real-time and Embedded Systems (JTRES 2012) |
Place of Publication | New York, NY |
Publisher | Association for Computing Machinery |
Pages | 145-154 |
Number of pages | 10 |
ISBN (Print) | 978-1-4503-1688-0 |
DOIs | |
Publication status | Published - Oct 2012 |
Event | 10th International Workshop on Java Technologies for Real-time and Embedded Systems, JTRES 2012 - Copenhagen, Denmark Duration: 24 Oct 2012 → 26 Oct 2012 Conference number: 10 |
Conference
Conference | 10th International Workshop on Java Technologies for Real-time and Embedded Systems, JTRES 2012 |
---|---|
Abbreviated title | JTRES |
Country/Territory | Denmark |
City | Copenhagen |
Period | 24/10/12 → 26/10/12 |