Treffer: Writing Self-testing Java Classes with SelfTest

Title:
Writing Self-testing Java Classes with SelfTest
Authors:
Contributors:
The Pennsylvania State University CiteSeerX Archives
Publication Year:
2014
Collection:
CiteSeerX
Document Type:
Fachzeitschrift text
File Description:
application/pdf
Language:
English
Rights:
Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Accession Number:
edsbas.DFA63A1F
Database:
BASE

Weitere Informationen

—This document provides a tutorial introduction to Java annotations called SelfTest. The SelfTest annotations allow one to annotate Java classes with test data, and the SelfTest annotation processor generates executable JUnit test classes from annotated Java classes by translating test cases to executable JUnit tests. The SelfTest annotations not only automate unit testing of Java classes significantly but also provides a step toward writing self-testing Java classes by embedding test data in source code for both compile and runtime processing. I.