Abstract
In this paper we introduce automatic methods for restructuring source codes written in test description languages. We modify the structure of these sources without making any changes to their behavior. This technique is called refactorisation. There are many approaches to refactorisation. The goal of our refactorisation methods is to increase the maintainability of source codes. We focus on TTCN-3 (Testing and Test Control Notation), which is a rapidly spreading test description language nowadays. A TTCN-3 source consists of a data description (static) part and a test execution (dynamic) part. We have developed models and refactorisation methods based on these models, separately for the two parts. The static part is mapped into a layered graph structure, while the dynamic part is mapped to a CEFSM (Communicating Extended Finite State Machine) – based model.
Highlights
Testing is becoming an increasingly important phase in the development process
In this paper we introduce automatic methods for restructuring source codes written in test description languages
Once the type graph and the value trees have been created, the value trees have to be connected to the type graph in the following way: Each V-node is connected to the T-node
Summary
Testing is becoming an increasingly important phase in the development process. The sooner a fault is found in the source code, the fewer resources it takes to correct it. Automating test cases significantly improves the efficiency and reduces the duration of testing. Many tools have been applied for testing purposes, for example TTCN-3 for automating whole test cases [1]. Refactorisation is a commonly used technique for changing the syntax of program codes without making any changes to their behavior [2], [3]. We have concentrated on refactoring TTCN-3 source codes
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.