2012
Authors
Faria, JP; Paiva, ACR; Yang, ZL;
Publication
2012 EIGHTH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC 2012)
Abstract
Model-driven engineering approaches aim at avoiding productivity, model quality and model maintenance problems that arise when models are used for documentation only, by generating executable applications from models. However, in many cases, the level of detail of the models needed to generate complete applications is too much or only effective for specific domains. For those cases where it is not practical to build complete models and generate complete applications from them, we propose a lightweight approach, applicable at different levels (unit, integration and system testing), that combines partial application generation from structural models with test generation from partial behavioral models. To demonstrate the approach, we developed a plug-in that adds to the code generation capabilities of an existing UML modeling tool, the capability of generating executable tests from sequence diagrams acting also as parameterized test scenarios, including some novel features as compared to existing model-based testing tools.
2010
Authors
Ferreira, RDF; Paiva, ACR; Faria, JP;
Publication
ICSTW 2010 - 3rd International Conference on Software Testing, Verification, and Validation Workshops
Abstract
Software testing is a very important activity of the software development process. To expedite the testing process and improve the quality of the tests, models are increasingly used as a basis to derive test cases automatically - a technique known as model-based testing (MBT). Given a system model and a test suite derived automatically from the model or created by other process, the coverage of the model achieved by the test suite is important to assess the quality and completeness of the test suite early in the software development process. This paper presents a novel tool that shows visually the coverage achieved by a test suite on a UML state machine model. The tool receives as input a UML state machine model represented in XMI and a test suite represented in a XML format, and produces a colored UML state machine model that shows the coverage result. Model test coverage is determined by simulating the execution of the test suite over the model. An example is presented in order to show the features of the tool. © 2010 IEEE.
2012
Authors
Lopes Margarido, I; Pascoal Faria, J; Moreira Vidal, R; Vieira, M;
Publication
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Abstract
CMMI practices can be poorly implemented leading to weak performance gain. SCAMPI verifies model compliance but not performance. Hence, a framework to evaluate the quality of implementation of each practice, based on compliance and performance results, will prevent poor implementation, locate and fix problems, and ultimately achieve better results. In this paper we propose such a framework, based on a combination of leading and lagging indicators measuring compliance, efficiency and efficacy. © 2012 Springer-Verlag.
2012
Authors
Rebello De Andrade, F; Faria, JP; Lopes, A; Paiva, ACR;
Publication
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Abstract
Several approaches exist to automatically derive test cases that check the conformance of the implementation of abstract data types (ADTs) with respect to their specification. However, they lack support for the testing of implementations of ADTs defined by generic classes. In this paper, we present a novel technique to automatically derive, from specifications, unit test cases for Java generic classes that, in addition to the usual testing data, encompass implementations for the type parameters. The proposed technique relies on the use of Alloy Analyzer to find model instances for each test goal. JUnit test cases and Java implementations of the parameters are extracted from these model instances. © 2012 Springer-Verlag.
2010
Authors
Rosado da Cruz, AMR; Faria, JP;
Publication
MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PT I
Abstract
One of the advantages of following a MDA-based approach in the development of interactive applications is the possibility of generating multiple platform-specific user interfaces (UI) from the same platform independent UI model. However, the effort required to create the UI model may be significant. In the case of data-intensive applications, a large part of the UI structure and functionality is closely related with the structure and functionality of the domain entities described in the domain model, and the access rules specified in the use case model. This paper presents an approach to reduce the effort required to create platform independent UI models for data intensive applications, by automatically generating an initial UI model from domain and use case models. For that purpose, UML-aligned metamodels for domain and use case models are defined, together with a MOF-based metamodel for user interface models. The transformation rules that drive the UI model generation are introduced. It is also proposed a MDA-based process for the development of data intensive interactive applications based on the proposed model architecture and transformations.
2008
Authors
Paiva, ACR; Faria, JCP; Mendes, PMC;
Publication
FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS
Abstract
This paper describes a process to reverse engineer structural and behavioural formal models of a GUI application by a dynamic technique, mixing manual with automatic exploration. The goal is to diminish the effort required to construct the model and mapping information needed in a model-based GUI testing process. A skeleton of a state machine model of the GUI, represented in a formal pre/post specification language, is generated automatically by the exploration process. Mapping information between the model and the implementation is also generated along the way. The model extracted automatically is then completed manually in order to get an executable model which can be used as a test oracle. Abstract test cases, including expected outputs, can be generated automatically from the final model and executed over the GUI application, using the mapping information generated during the exploration process.
The access to the final selection minute is only available to applicants.
Please check the confirmation e-mail of your application to obtain the access code.