moment, both the test data and the expected result
(which are required for the test oracle) are manually
stored in the datapool. Our ongoing work uses UML
State Machines to define the test oracle.
Future work includes implementing MOFScript
transformations to generate NUnit test cases, the
application of the entire framework in an industrial
project and, as we have pointed out, to take
advantage of state machine annotations to
automatically include the oracle in the test cases.
ACKNOWLEDGEMENTS
This research was financed by the projects:
DIMITRI (Ministerio de Ciencia e Innovación, grant
TRA2009_0131) and the project PEGASO/MAGO
(TIN2009-13718-C02-01) from MICINN and
FEDER. Pérez has a doctoral grant from JCCM,
Orden de 13-11-2008. Reales has a doctoral grant
from the “Ministerio de Educación”, Real Decreto
63/2006.
REFERENCES
(2011a) JUnit. http://www.junit.org/. Access: May 2011.
(2011b) MofScript. http://www.eclipse.org/gmt/
mofscript/. Access: May 2011.
(2011c) NUnit. http://www.nunit.org/. Access: May 2011.
Baker, P., Dai, Z., Grabowski, J., Schieferdecker, I.,
Haugen, O. & Williams, C. (2007) Model-Driven
Testing: Using the UML Testing Profile, Springer.
Beck, K. (1999) Kent Beck's guide to better Smalltalk: a
sorted collection, Cambridge University Press.
Bertolino, A. (2007) Software Testing Research:
Achievements, Challenges, Dreams. Internation
Conference on Software Engineering. IEEE Computer
Society.
Bezivin, J. (2005) On the unification power of models.
Software and Systems Modeling, 4, 171-188.
Dai, Z. (2004) Model-Driven Testing with UML 2.0.
Second European Workshop on Model Driven
Architecture (MDA) with an emphasis on
Methodologies and Transformations. Canterbury,
England.
Dalal, S., Jain, A., Karunanithi, N., Leaton, J., Lott, C.,
Patton, G. & Horowitz, B. (1999) Model-based testing
in practice. ICSE. IEEE Computer Society.
Dias Neto, A. C., Subramanyan, R., Vieira, M. &
Travassos, G. H. (2007) A Survey on Model-based
Testing Approaches: A Systematic Review. 1st ACM
international workshop on Empirical assessment of
software engineering languages and technologies.
ACM.
Harmon, P. (2004) The OMG's Model Driven Architecture
and BPM. Newsletter of Business Process Trends.
Javed, A., Strooper, P. & Watson, G. (2007) Automated
generation of test cases using model-driven
architecture. 2nd International Workshop on
Automation of Software Test. AST'07.
Kleppe, A., Warmer, J. & Bast, W. (2003) MDA
Explained; The Model Driven Architecture: Practice
and Promise, Addison-Wesley.
Mellor, S., Scott, K., Uhl, A. & Weise, D. (2004) MDA
Distilled: Principles of Model-Driven Architecture,
Addison Wesley.
Mens, T. & Van Corp, P. (2006) A Taxonomy of Model
Transformation. Electronic Notes in Theoretical
Computer Sciences, 152, 125-142.
Miller, J. & Mukerji, J. (2003) MDA Guide Version 1.0.
1. Object Management Group.
Naslavsky, L., Ziv, H. & Richardson, D. J. (2007)
Towards traceability of model-based testing artifacts.
3rd international workshop on Advances in model-
based testing. London, United Kingdom, ACM.
Omg (2005) UML testing profile Version 1.0. IN Group,
O. M. (Ed.).
Omg (2007) MOF Query/View/Transformation
Specification.
Omg (2008) MOF Model to Text Transformation
Language. Version 1.0 ed., OMG.
Perez Lamancha, B., Polo, M. & Piattini, M. (2010) AN
AUTOMATED MODEL-DRIVEN TESTING
FRAMEWORK for Model-Driven Development and
Software Product Lines. Fifth International
Conference on Evaluation of Novel Approaches to
Software Engineering. Athens, Greece, SciTePress.
Pérez Lamancha, B., Polo Usaola, M. & García Rodriguez
De Guzmán, I. (2009a) Model-Driven Testing in
Software Product Lines. 25th International IEEE
Conference on Software Maintenance (ICSM09).
Edmonton, Canadá, IEEE.
Pérez Lamancha, B., Reales Mateo, P., García Rodriguez
De Guzmán, I., Polo Usaola, M. & Piattini, M.
(2009b) Automated Model-based Testing using the
UML Testing Profile and QVT. IN Acm (Ed.) 6th
International Workshop on Model-Driven
Engineering, Verification and Validation
(MODEVVA'09). Denver, Colorado.
Prasanna, M., Sivanandam, S., Venkatesan, R. &
Sundarrajan, R. (2005) A survey on automatic test
case generation. Academic Open Internet Journal, 15,
1-5.
ENASE 2011 - 6th International Conference on Evaluation of Novel Software Approaches to Software Engineering
130