BDD Scenario Synchronization via Unique Test Entities

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for Behavior Driven Development (BDD) in software application testing report results at the script level, failing to differentiate between individual test scenarios, leading to inaccuracies as a single scenario failure can indicate a broader script failure, even if only a minor user story is affected.

Innovation Solution

Implement a system that receives and synchronizes BDD specifications with test results on a per-feature and per-scenario basis, creating a test entity for each scenario with a unique ID, and reports results, determining changes, version updates, and automation status to accurately reflect individual scenario performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the whole script with all scenarios is considered as a single test, then the test execution is simplified and can be reported as a single result, but the measurement precision of test results deteriorates because individual scenario failures cannot be differentiated

Engineering Contradiction:
Improvetest execution efficiencyVSAvoidtest result accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent segments the BDD script into individual test scenarios, each with its own test entity and unique identifier. This allows results to be reported and tracked at the scenario level rather than treating the entire script as a single test, thereby improving measurement precision while maintaining execution efficiency through automated individual scenario handling.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If individual test entities are created for each scenario, then the measurement precision of test results improves by accurately tracking individual scenario performance, but the device complexity increases due to managing multiple test entities and synchronizations

Engineering Contradiction:
Improvetest result accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements a universal test entity structure that can represent any BDD scenario while maintaining consistent properties and behaviors. This multi-functional approach allows the same framework to handle diverse scenarios without requiring separate complex management systems for each, thereby reducing overall device complexity while preserving measurement precision.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces an Application Lifecycle Management (ALM) system as an intermediary that manages the synchronization between BDD scripts and test results. This mediator handles the complexity of managing multiple test entities, version control, and result synchronization, thereby reducing the apparent complexity for users while maintaining high measurement precision.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If test results are reported on a per-scenario basis, then the measurement precision improves by identifying specific failed scenarios, but the loss of information increases due to the need to track and synchronize multiple individual results with the BDD specification

Engineering Contradiction:
Improvetest result accuracyVSAvoidsynchronization overhead
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent implements a feedback mechanism where the ALM system continuously monitors and synchronizes test results with the BDD specification. This feedback loop ensures that individual scenario results are accurately tracked and correlated with their corresponding script versions, minimizing information loss while maintaining high measurement precision through automated reconciliation.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11892943B2Methods and systems for synchronizing behavior-driven development (BDD) specifications and results to a single point of truth while treating each scenario in the script as a separate test
Publication Date: 2024.02.06 MICRO FOCUS LLC
  • US11892943B2 patent drawing
  • US11892943B2 patent drawing
  • US11892943B2 patent drawing

AI summary

Embodiments of the disclosure provide systems and methods for managing a lifecycle of a software application. According to one embodiment, software application lifecycle management can comprise receiving a specification for an application. The specification can comprise an executable script defining a plurality of features for the application and a plurality of scenarios. Each scenario representing a test for one or more features of the application and each feature comprising one or more user stories. A test entity can be created for and corresponding to each scenario in the specification and each scenario can be marked with a test identifier linking the created test entity to the corresponding scenario in the script. Results of execution of one or more scenarios of the plurality of scenarios can be received and reported on a per-feature and per-scenario basis.