Authors:
Pedro Reales Mateo
1
;
Macario Polo
2
and
Beatriz Pérez Lamancha
3
Affiliations:
1
U. of Castilla-La Mancha, Spain
;
2
University of Castilla-la Mancha, Spain
;
3
University of the Uruguay Republic, Uruguay
Keyword(s):
Oracle, Automation, Testing, Test Cases, Software Product Line, Transformation algorithms.
Related
Ontology
Subjects/Areas/Topics:
Enterprise Information Systems
;
Information Systems Analysis and Specification
;
Modeling Formalisms, Languages and Notations
;
Requirements Analysis And Management
;
Software Engineering
Abstract:
This paper describes a method to automatically generate test cases with oracle in software product lines, where the management of variability and traceability are two indispensable requirements. These characteristics may be quite useful for the processing and automatic addition of the oracle to test cases, which is one of the main problems found, not only in the context of software product lines, but also in general testing literature. The paper describes a simple, but effective, way to deal with this problem, based on annotations to precode artifacts, metamodelling and transformation algorithms.