Generation of test models from behavior driven development scenarios based on behavior driven development step definitions and similarity analysis using neuro linguistic programming and machine learning mechanisms

A technology for testing models and behaviors, applied in the field of behavior-driven development

Pending Publication Date: 2021-09-07
SIEMENS AG
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, MBT must be individually embedded into the existing development and testing process of each software component

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Generation of test models from behavior driven development scenarios based on behavior driven development step definitions and similarity analysis using neuro linguistic programming and machine learning mechanisms
  • Generation of test models from behavior driven development scenarios based on behavior driven development step definitions and similarity analysis using neuro linguistic programming and machine learning mechanisms
  • Generation of test models from behavior driven development scenarios based on behavior driven development step definitions and similarity analysis using neuro linguistic programming and machine learning mechanisms

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that various alternative and / or equivalent implementations may be substituted for the specific embodiments shown and described without departing from the scope of the invention. Example. In general, this application is intended to cover any adaptations or variations of the specific embodiments discussed herein.

[0036] figure 1 A data processing system 10 is shown having a processor 11 performing a method M according to an embodiment of the invention. Some aspects of method M are in figure 2 and 3 exemplifies.

[0037] In addition to processor 11, data processing system 10 may also include usual components such as accessible memory, storage units, input units, output units, etc. (not shown). Processing unit 10 as used herein refers to any type of computer or computing circuitry, such as, but not limited to, a microprocessor unit, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Generation of test models from Behavior Driven Development scenarios based on Behavior Driven Development step definitions and similarity analysis using Neuro Linguistic Programming and machine learning mechanisms The present invention pertains to a method for automated verification of a software program in a Behavior-Driven Development (BDD) environment and a data processing system configured to execute such a method. Individual test steps of BDD test scenarios are first matched and then assigned to existing test step definitions from a BDD framework. If a one-to- one matching is not possible, natural language processing (NLP) is used to decide if an assignment is possible with a certain matching probability. The assigned test step definitions are used to generate graphical test models for the test scenarios, e.g. UML diagrams. Finally, executable test scripts are generated to test the software program. The present invention relates particularly to Behavior-Driven Development (BDD) and combines traditional BDD advantages with Model Based Testing (MBT) for improved convenience and automatization in case of complex software packages. The automated step matching allows an efficient mapping of BDD step phrases to a test automation framework and supports the structured development of the necessary framework code. The graphical test models add an additional abstraction layer and provide the opportunity to check BDD scenarios for consistency and completeness.

Description

technical field [0001] The present invention relates to a computer-implemented method for automatic verification of software programs in a behavior-driven development environment. The invention further relates to a device comprising a processor configured to perform such a method. In particular, the present invention relates to Behavior Driven Development (BDD). Background technique [0002] In recent years, BDD has emerged as an agile software development methodology for the specification and execution of automated acceptance tests for software programs. BDD was introduced by Dan North in 2006 to simplify Test Driven Development (TDD), see for example "Drei Methoden, ein Ziel: Testautomatisierung mit BDD, MBT und KDT imVergleich", Brandel et al., Softwaretechnik-Trends, 35(3), 2015 . TDD is a software development methodology that essentially stipulates that for each unit of software, the software developer must first define a specific set of tests for the unit, then impl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3664G06F11/3684G06F40/205G06F11/3688
Inventor S·斯托克
Owner SIEMENS AG
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products