Automated Generation of Test Models from Semi-Structured Requirements

08/22/2019
by   Jannik Fischbach, et al.
0

[Context:] Model-based testing is an instrument for automated generation of test cases. It requires identifying requirements in documents, understanding them syntactically and semantically, and then translating them into a test model. One light-weight language for these test models are Cause-Effect-Graphs (CEG) that can be used to derive test cases. [Problem:] The creation of test models is laborious and we lack an automated solution that covers the entire process from requirement detection to test model creation. In addition, the majority of requirements is expressed in natural language (NL), which is hard to translate to test models automatically. [Principal Idea:] We build on the fact that not all NL requirements are equally unstructured. We found that 14 of the lines in requirements documents of our industry partner contain "pseudo-code"-like descriptions of business rules. We apply Machine Learning to identify such semi-structured requirements descriptions and propose a rule-based approach for their translation into CEGs. [Contribution:] We make three contributions: (1) an algorithm for the automatic detection of semi-structured requirements descriptions in documents, (2) an algorithm for the automatic translation of the identified requirements into a CEG and (3) a study demonstrating that our proposed solution leads to 86 test model creation without loss of quality.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/02/2022

Automatic Creation of Acceptance Tests by Extracting Conditionals from Requirements: NLP Approach and Case Study

Acceptance testing is crucial to determine whether a system fulfills end...
research
04/25/2023

Test adequacy evaluation for the user-database interaction: a specification-based approach

Testing a database application is a challenging process where both the d...
research
07/23/2023

Testing Hateful Speeches against Policies

In the recent years, many software systems have adopted AI techniques, e...
research
08/02/2019

Requirements-driven Test Generation for Autonomous Vehicles with Machine Learning Components

Autonomous vehicles are complex systems that are challenging to test and...
research
10/04/2022

Putting Them under Microscope: A Fine-Grained Approach for Detecting Redundant Test Cases in Natural Language

Natural language (NL) documentation is the bridge between software manag...
research
10/07/2022

Towards Automatic Model Completion: from Requirements to SysML State Machines

Even if model-driven techniques have been enabled the centrality of the ...
research
07/13/2023

Crucible: Graphical Test Cases for Alloy Models

Alloy is a declarative modeling language that is well suited for verifyi...

Please sign up or login with your details

Forgot password? Click here to reset