[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2554850.2555054acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

Extending JUnit 4 with Java annotations and reflection to test variant model transformation assets

Published: 24 March 2014 Publication History

Abstract

Software Product Line (SPL) techniques are widely used to represent variability and commonality in reusable software assets. Similarly, model transformations are also software assets and can be reused with the same techniques. However, their applicability in the model transformations domain demands an extra effort to test the generated/adapted assets. Automated test cases should consider isolated transformations and also their combined use in a model transformation chain, that can vary according to different needs in software projects, e.g. libraries and frameworks. In order to facilitate the specification of automated test cases, this paper presents a JUnit extension to support unit and integration tests that execute dynamic SPL-based model transformation chains.

References

[1]
Almeida, J., Dijkman, R., Sinderen, M., and Pires, L. Platform-independent modeling in MDA: Supporting abstract platforms. In Proc. of Model-Driven Architecture: Foundations and Applications, June 2004. pp 217--231.
[2]
Aranega, V., Etien, A., and Mosser, S. Using feature models to tame the complexity of model transformation engineering. In ACM/IEEE 15th International Conference on Model Driven Engineering Languages and Systems MODELS 2012.
[3]
Asaithambi, S. P. R., and Jarzabek, S. Towards Test Case Reuse: A Study of Redundancies in Android Platform Test Libraries. In ICSR 2013, pp. 49--64.
[4]
Basso, F. P., Oliveira, T. C. and Becker, L. B. Using the FOMDA Approach to Support Object-Oriented Real-Time Systems Development; In Proc. of International Symposium on Object and Component-Oriented Real-Time Distributed Computing. Gyeongju, Korea. 2006. pp. 374--381.
[5]
Basso, F. P., Pillat, R. M., Oliveira, T. C. and Becker, L. B. Supporting large scale model transformation reuse. In 12th International Conference on Generative Programming: Concepts & Experiences (GPCE'13), Indianapolis, USA. 2013. pp 169--178.
[6]
Basso, F. P., Pillat, R. M., Oliveira, T. C. and Fabro, M. D. D. Generative Adaptation of Model Transformation Assets: Experiences, Lessons and Drawbacks. In Proceedings of ACM Symposium on Applied Computing (SAC'14) Gyeongju, Korea. March 24--28, 2014 (to appear).
[7]
Baudry, B., Ghosh, S., Fleurey, F., France, R., Traon, Y. L., and Mottu, J. M. Barriers to systematic model transformation testing. In Communications of the ACM Volume 53, Issue 6, 1 June 2010, pp 139--143.
[8]
Boas, G. From the Workfloor: Developing Workflow for the Generative Model Transformer. OOPSLA 2005.
[9]
Boch, G., Rumbaugh, J. and Jacobson, I. The Unified Modeling Language: User Guide, Addison-Wesley, 1999.
[10]
Eisenecker, U. and Czarnecki, K. Generative Programming: Methods, Tools, and Applications. Addison-Wesley, 2000.
[11]
Etien, A., Muller, A., Legrand, T., and Blanc, X. Combining Independent Model Transformations. In Proceedings of ACM Symposium on Applied Computing (SAC'10). 2010.
[12]
Fleurey, F., Steel, J. and Baudry, B. Validation in model-driven engineering: Testing model transformations. In 1st International Workshop on Model, Design and Validation, SIVOES - MoDeVa 2004. pp 29--40.
[13]
Hellmann, T. D., Sharma, A., Ferreira, J., and Maurer, F. Agile testing: Past, present, and future - Charting a systematic map of testing in agile software development. Proceedings - 2012 Agile Conference, Agile 2012. pp 55--63.
[14]
Hervieu, A., Baudry, B., and Gotlieb, A. Managing execution environment variability during software testing: An industrial experience. In International Conference on Testing Software and Systems, ICTSS 2012. pp 24--38.
[15]
Jouault, F. and Kurtev, I. On the Architectural Alignment of ATL and QVT. In: Proceedings of ACM Symposium on Applied Computing (SAC 06), Model Transformation Track. April 2006.
[16]
JUnit 4 API. At December 2013. Available at <http://en.wikipedia.org/wiki/JUnit>.
[17]
Kakarontzas, G., Stamelos, I. and Katsaros, P. Product line variability with elastic components and test-driven development. In International Conference on Computational Intelligence for Modelling Control and Automation, CIMCA 2008. pp 146--151.
[18]
Kang, K. C., Kim, S., Lee, J., Kim, K., Shin, E. and Huh, M. A feature-oriented reuse method with domain-specific reference architectures. Ann. Softw. Eng., Jan. 1998, 5: 143--168.
[19]
Kim, C. H. P., Batory, D. S., and Khurshid, S. Reducing combinatorics in testing product lines. In Proceedings of the tenth international conference on Aspect-oriented software development, AOSD '11, 2011, pp 57--68.
[20]
Küster, J. M., Gshwind, T., and Zimmermann O. Incremental Development of Model Transformation Chains Using Automated Testing. Springer-Verlag MODELS 2009, Berlin Heidelberg 2009. LNCS 5795, pp 733--744, 2009.
[21]
Lúcio, L., Bruno, B., and Vasco, A. A Technique for Automatic Validation of Model Transformations. In Model Driven Engineering Languages and Systems (MODELS 10), 2010. pp 136--150.
[22]
McGregor, J. D. "Agile software product lines, deconstructed". Journal of Object Technology, 7(8), Nov., 2008, 7--19.
[23]
McGregor, J. Testing a Software Product Line, Software Engineering Institute, Carnegie Mellon University, Pittsburgh, Pennsylvania, CMU/SEI-2001-TR-022, 2001.
[24]
Mohan, K., Ramesh B. and Sugumaran, V. "Integrating software product line engineering and agile development". IEEE Software, 2010.
[25]
Nanda, M. G., Mani, S., Sinha, V. S., and Sinha, S. Demystifying Model Transformations: An Approach Based on Automated Rule Inference. OOPSLA 2009, Orlando, USA.
[26]
Noor, M. A., Rabiser R., and Grünbacher, P. "Agile product line planning: a collaborative approach and a case study". Journal of Systems and Software, 2007, 81(6), 868--882.
[27]
Object Management Group - MDA Specifications. June 2011. Available at <http://www.omg.org/mda/specs.htm>.
[28]
Offutt, J., and Abdurazik, A. Generating Tests from UML Specifications, 2nd Intl. Conference on UML'99, 1999.
[29]
Paulon, A. R., Fröhlich, A. A., Becker, L. B., and Basso, F. P. Model-Driven Development of WSN Applications. In III Simpósio Brasileiro de Engenharia de Sistemas Computacionais (SBESC) 2013.
[30]
Perrouin, G., Sen, S., Klein, J., Baudry, B. and Traon, Y. L. Automated and scalable T-wise test case generation strategies for Software Product Lines. ICST 2010 - 3rd International Conference on Software Testing, Verification and Validation. 2010. pp 459--468.
[31]
Reuys, A., Kamsties, E., Klaus, P., and Reis, S. Model-Based System Testing of Software Product Families. In Advanced Information Systems Engineering, Lecture Notes in Computer Science, volume 3520. 2005. pp 519--534.
[32]
Rosenmüller, M., Siegmund, N., Pukall, M., and Apel, S. Tailoring dynamic software product lines. In 10th International Conference on Generative Programming (GPCE'11), 2011. 47(3): 3--12.
[33]
Santos, A., Gaia, F., Figueiredo, E., Neto, P. S., and Araújo, J. Test-based SPL extraction: an exploratory study. In Proceedings of ACM Symposium on Applied Computing (SAC'13). 2013. pp 1031--1036.
[34]
Syriani, E., Vangheluwe, H. and LaShomb, B. T-Core: a framework for custom-built model transformation engines. Software & Systems Modeling Journal. 2013.
[35]
Tekinerdogan, B., Bilir, S. and Abatlevi, C. Integrating Platform Selection Rules in the Model Driven Architecture Approach. In Proc. of Model-Driven Architecture: Foundations and Applications, June 2004. pp 184--200.
[36]
Vanhooff, B., Baelen, S. V., Hovsepyan, A. Joosen, W. and Berbers, Y. Towards a Transformation Chain Modeling Language. Springer-Verlag and SAMOS 2006, Berlin Heidelberg. LNCS 4017, 2006, pp. 39--48.
[37]
Völter, M. and Groher, I. Handling variability in model transformations and generators. In Proceedings of the 7th OOPSLA Workshop on Domain-Specific Modeling (DSM'07), 2007.
[38]
Wagelaar, D. Blackbox Composition of Model Transformations using Domain-Specific Modeling Languages. In First European Workshop on Composition of Model Transformations. 2006.
[39]
Yie, A., Casallas, R., Deridder, D. and Wagelaar, D. Realizing model transformation chain interoperability. Software & Systems Modeling, 2012, 11(1): 55--75.

Cited By

View all
  • (2022)Overlap between Automated Unit and Acceptance Testing – a Systematic Literature ReviewProceedings of the 26th International Conference on Evaluation and Assessment in Software Engineering10.1145/3530019.3530028(80-89)Online publication date: 13-Jun-2022
  • (2017)Building the foundations for ‘MDE as Service’IET Software10.1049/iet-sen.2016.012411:4(195-206)Online publication date: 1-Aug-2017
  • (2014)Generative adaptation of model transformation assetsProceedings of the 29th Annual ACM Symposium on Applied Computing10.1145/2554850.2554944(1027-1034)Online publication date: 24-Mar-2014
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SAC '14: Proceedings of the 29th Annual ACM Symposium on Applied Computing
March 2014
1890 pages
ISBN:9781450324694
DOI:10.1145/2554850
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 24 March 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Java annotations
  2. Java reflection
  3. MDE
  4. integration tests
  5. model transformation chain
  6. software product lines
  7. unit tests

Qualifiers

  • Research-article

Funding Sources

Conference

SAC 2014
Sponsor:
SAC 2014: Symposium on Applied Computing
March 24 - 28, 2014
Gyeongju, Republic of Korea

Acceptance Rates

SAC '14 Paper Acceptance Rate 218 of 939 submissions, 23%;
Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

Upcoming Conference

SAC '25
The 40th ACM/SIGAPP Symposium on Applied Computing
March 31 - April 4, 2025
Catania , Italy

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)1
Reflects downloads up to 21 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2022)Overlap between Automated Unit and Acceptance Testing – a Systematic Literature ReviewProceedings of the 26th International Conference on Evaluation and Assessment in Software Engineering10.1145/3530019.3530028(80-89)Online publication date: 13-Jun-2022
  • (2017)Building the foundations for ‘MDE as Service’IET Software10.1049/iet-sen.2016.012411:4(195-206)Online publication date: 1-Aug-2017
  • (2014)Generative adaptation of model transformation assetsProceedings of the 29th Annual ACM Symposium on Applied Computing10.1145/2554850.2554944(1027-1034)Online publication date: 24-Mar-2014
  • (2014)Towards facilities to introduce solutions for MDE in development environments with reusable assetsProceedings of the 2014 IEEE 15th International Conference on Information Reuse and Integration (IEEE IRI 2014)10.1109/IRI.2014.7051890(195-202)Online publication date: Aug-2014

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media