Home // ICSEA 2014, The Ninth International Conference on Software Engineering Advances // View article
Structural Test Case Generation Based on System Models
Authors:
Leandro Teodoro Costa
Avelino Francisco Zorzo
Elder Macedo Rodrigues
Maicon Bernardino
Flávio Moreira Oliveira
Keywords: model-based testing; structural testing
Abstract:
Structural testing, or white-box testing, is a technique for generating test cases based on analysis of an application source code. Currently, there are different tools supporting this type of test. However, despite the benefits of these tools, some tasks still have to be performed manually. This makes the test process time consuming and prone to injection of faults. In order to mitigate these problems, this paper presents a Model-based Testing (MBT) approach for deriving structural test cases for different code coverage tools using UML sequence diagrams. Our approach consists of four steps: Parser, Test Case Generator, Script Generator and Executor. These steps are based on the four main features of a Software Product Line for MBT tools, from which we derived two automation tools (PletsCoverageJabuti and PletsCoverageEmma) that generate and execute structural test cases, respectively. We also describe a case study, which defines test cases for an application that manages skills of employees.
Pages: 276 to 281
Copyright: Copyright (c) IARIA, 2014
Publication date: October 12, 2014
Published in: conference
ISSN: 2308-4235
ISBN: 978-1-61208-367-4
Location: Nice, France
Dates: from October 12, 2014 to October 16, 2014