Affiliation:
1. COPPE / Federal University of Rio Janeiro (UFRJ)
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.
Publisher
Association for Computing Machinery (ACM)
Reference22 articles.
1. The Role of Model-Based Testing
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. 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. 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. 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.