Real-time java API specifications for high coverage test generation
Paper in proceeding, 2012

We present the test case generation method and tool KeYTestGen 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 real-time 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.

Coverage criteria

Test case generation

Formal Specification

KeY systems

Test generations

Java source codes

Modified conditions

Formal verifications

Symbolic execution

Real-time Java

Author

Wolfgang Ahrendt

Chalmers, Computer Science and Engineering (Chalmers), Software Technology (Chalmers)

Wojciech Mostowski

University of Twente

Gabriele Paganelli

Chalmers, Computer Science and Engineering (Chalmers), Software Technology (Chalmers)

10th International Workshop on Java Technologies for Real-Time and Embedded Systems (JTRES 2012), Copenhagen, 24 - 26 October 2012

145-154
978-145031688-0 (ISBN)

Areas of Advance

Information and Communication Technology

Subject Categories

Computer and Information Science

Software Engineering

DOI

10.1145/2388936.2388960

ISBN

978-145031688-0

More information

Latest update

6/8/2018 5