Title :
A Method for Semi-automated Generation of Test Scenarios Based on Use Cases
Author :
Richard Lipka;Tomá Potuák;Premek Brada;Petr Hnetynka;Jirí Vinárek
Author_Institution :
New Technol. for Inf. Soc., Univ. of West Bohemia, Plzen, Czech Republic
Abstract :
Use cases are a widely accepted way to define application functionality. They can therefore form a solid basis for testing the correct functionality and quality of service of a developed application. In this paper, we describe a method for semi-automated generation of test scenarios for simulation testing of software components and component-based applications. It derives the scenarios from the use cases written in natural language, enriched with annotations that allow us to connect the specification with the source code of the application. This helps us to generate a sequence of method invocations within the tested application that forms a testing scenario. The achieved benefit is that the utilization of use cases not only helps to keep tests directly related to the original requirements of the application, it also makes it possible to easily generate new test cases when the requirements on the application change.
Keywords :
"Software","Automata","Model checking","Quality of service","Natural languages","Transforms"
Conference_Titel :
Software Engineering and Advanced Applications (SEAA), 2015 41st Euromicro Conference on
Electronic_ISBN :
2376-9505
DOI :
10.1109/SEAA.2015.32