skip to main content
research-article

Improving tests infrastructure through a model-based approach

Published: 24 January 2011 Publication History

Abstract

Software tests have a high impact on the cost of software development. In practice, they are generally created at random and without any methodology, and do not have sufficient documentation. Commonly used approaches also perform the tests outside the application environment (e.g. web servers and containers). Besides, the test cases are usually restricted to target business components behavior, leaving a huge gap by not evaluating the presentation layer. Most of these practices can be explained by the overhead required to maintain manually the whole test artifacts. Applying a Model-based Approach (MBA), the creation and maintenance of test artifacts can be automated. This paper proposes a method that applies the Model-driven Architecture (MDA), a strategy of MBA, to determine the flow of test cases. The proposed method was based on the use of Unified Modeling Language (UML) activity diagrams. These diagrams allow determining the test flows and the objective of each activity, such as testing of business and presentation layers. Moreover, the generated test artifacts allow for performing the tests inside the application environment.

References

[1]
Utting, M. 2008. The Role of Model-Based Testing. Verified Software: Theories, Tools, Experiments: First IFIP TC 2/WG 2.3 Conference, VSTTE 2005, Zurich, Switzerland, October 10-13, 2005, Revised Selected Papers and Discussions. Springer-Verlag. 510--517.
[2]
Miller, J. and Mukerji, J. 2003. "MDA Guide Version 1.0.1. Object Management Group, http://www.omg.org/cgibin/doc?omg/03-06-01. Accessed on 08/16/2010.
[3]
OMG. Object Management Group. http://www.omg.org. Accessed on 08/16/2010.
[4]
UML. 2010. Unified Modeling Language™ (UML®) Version 2.3. Object Management Group. http://www.omg.org/spec/UML/2.3/. Accessed on 08/16/2010.
[5]
Poole, J. D. 2001. Model-Driven Architecture: Vision, Standards and Emerging Technologies. In ECOOP 2001, Workshop on Metamodeling and Adaptive Object Models.
[6]
Siegel, J. and the OMG Staff Strategy Group. 2001. Developing in OMG's Model Driven Architecture. OMG white paper. ftp://ftp.omg.org/pub/docs/omg/01-12-01.pdf Accessed on 08/16/2010.
[7]
MDArte. 2010. Framework MDArte. http://www.softwarepublico.gov.br/vercomunidade? community_id=9022831. Accessed on 08/16/2010.
[8]
AndroMDA. 2010. Framework AndroMDA. http://www.andromda.org. Accessed on 16/08/2010.
[9]
Andriole, S.J. 1986. Software Validation Verification Testing and Documentation. Petrocelli Books.
[10]
Dalal, S.R., Jain, A. et al. 1999. Model-based testing in practice. Proceedings of the 21st international conference on Software engineering (Los Angeles, California, United States, 1999), 285--294.
[11]
Javed, A.Z., Strooper, P.A. et al. 2007. Automated Generation of Test Cases Using Model-Driven Architecture. Proceedings of the Second International Workshop on Automation of Software Test (2007), 3.
[12]
Wang, B. Zhu, C. Sheng, J. 2010 MDA-based automated generation method of test cases and supporting framework. Computer Engineering and Technology (ICCET), 2010 2nd International Conference, V1-106--V1-109.
[13]
Nantz, B. 2004. Open Source .NET Development: Programming with NAnt, NUnit, NDoc, and More. Addison-Wesley Professional.
[14]
Hamill, P. 2004. Unit Test Frameworks. O'Reilly Media.
[15]
Chen, P. 2002. Entity-relationship modeling: historical events, future trends, and lessons learned. Software pioneers: contributions to software engineering. Springer-Verlag New York, Inc. 296--310.
[16]
Rainsberger, J.B. 2004. JUnit Recipes: Practical Methods for Programmer Testing. Manning Publications.
[17]
Velocity. 2010. http://velocity.apache.org. Accessed on 08/16/2010.
[18]
Monnox, A. 2005. Rapid J2EE(TM) Development: An Adaptive Foundation for Enterprise Applications. Prentice Hall.
[19]
OCL. 2010. "Object Constraint Language". http://www.omg.org/technology/documents/formal/ocl.htm. Accessed on 08/16/2010.
[20]
EJB. 2010. "Enterprise JavaBeans". http://java.sun.com/products/ejb/2.0.html. Accessed on 08/16/2010.
[21]
Selenium. 2010. http://seleniumhq.org. Accessed on 08/16/2010.
[22]
Eclipse. 2010. http://www.eclipse.org. Accessed on 08/16/2010.

Cited By

View all
  • (2015)A crowdsourcing approach to the design of Virtual Research Environments2015 IEEE 19th International Conference on Computer Supported Cooperative Work in Design (CSCWD)10.1109/CSCWD.2015.7231002(455-461)Online publication date: May-2015
  • (2012)Collaborative support embedded in information system through automatic code generationProceedings of the 2012 IEEE 16th International Conference on Computer Supported Cooperative Work in Design (CSCWD)10.1109/CSCWD.2012.6221839(328-333)Online publication date: May-2012

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGSOFT Software Engineering Notes
ACM SIGSOFT Software Engineering Notes  Volume 36, Issue 1
January 2011
210 pages
ISSN:0163-5948
DOI:10.1145/1921532
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 24 January 2011
Published in SIGSOFT Volume 36, Issue 1

Check for updates

Author Tags

  1. AndroMDA
  2. JUnit
  3. MDA
  4. MDArte
  5. flow
  6. test

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 07 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2015)A crowdsourcing approach to the design of Virtual Research Environments2015 IEEE 19th International Conference on Computer Supported Cooperative Work in Design (CSCWD)10.1109/CSCWD.2015.7231002(455-461)Online publication date: May-2015
  • (2012)Collaborative support embedded in information system through automatic code generationProceedings of the 2012 IEEE 16th International Conference on Computer Supported Cooperative Work in Design (CSCWD)10.1109/CSCWD.2012.6221839(328-333)Online publication date: May-2012

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media