# US 2022/0283931 A1 · Methods 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

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283931 A1
- Document ID: US20220283931A1
- Status: Published application
- Kind: A1
- Application number: 17/191,225
- Filed: 2021-03-03
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: Micro Focus LLC
- Applicants: Micro Focus LLC
- Inventors: Sharon Vardi; Yael Peisachov; Yuval Koren
- Web page: https://patentgrep.com/patent/US20220283931A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3692: {for test results analysis}
- G06F 11/3696: {Methods or tools to render software testable}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

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.

## Claims

### Claim 1

A method for software application lifecycle management, the method comprising:
receiving, by an Application Lifecycle Management (ALM) system, a Behavior Driven Development (BDD) specification for an application, the BDD specification comprising 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 plurality of features of the application, and each feature comprising one or more user stories;
creating, by the ALM system, a test entity for and corresponding to each scenario of the plurality of scenarios in the BDD specification;
marking, by the ALM system, each scenario of the plurality of scenarios in the BDD specification with a test IDentifier (ID), the test ID linking the created test entity to the corresponding scenario in the BDD script;
receiving, by the ALM system, results of execution of one or more scenarios of the plurality of scenarios; and
reporting, by the ALM system, the received results of the execution of the one or more scenarios of the plurality of scenarios on a per-feature and per-scenario basis.

### Claim 2 (depends on 1)

The method of claim 1, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios comprises parsing the received results into sets of results for each test entity corresponding to the one or more scenarios.

### Claim 3 (depends on 2)

The method of claim 2, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining whether the script defining at least one scenario of the one or more scenarios was changed prior to execution of the at least one scenario; and
in response to determining the script defining the at least one scenario was changed prior to execution of the at least one scenario, marking the script defining the least one scenario as needing an approval.

### Claim 4 (depends on 2)

The method of claim 2, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining whether an executed version of the script defining at least one scenario of the one or more scenarios is a latest version of the script defining the at least one scenario; and
in response to determining the executed version of the script defining the at least one scenario is not the latest version of the script defining the at least one scenario, marking the script defining the least one scenario as needing an update.

### Claim 5 (depends on 2)

The method of claim 2, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining an automation status for execution of each scenario of the one or more scenarios and the BDD specification; and
marking each scenario of the one or more scenarios and the BDD specification with the determined automation status.

### Claim 6 (depends on 2)

The method of claim 2, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining whether the script defining at least one scenario of the one or more scenarios comprises a new script; and
in response to determining the script defining the at least one scenario of the one or more scenarios comprises a new script, creating a new test entity for the at least one scenario and associating the received results for the at least one scenario with the new test entity.

### Claim 7 (depends on 1)

The method of claim 1, further comprising synchronizing, by the ALM system, the received results of execution of the plurality of scenarios with the BDD specification.

### Claim 8

A system comprising:
a processor; and
a memory coupled with and readable by the processor and storing therein a set of instructions which, when executed by the processor, causes the processor to manage a software application lifecycle by:
receiving a Behavior Driven Development (BDD) specification for an application, the BDD specification comprising 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 plurality of features of the application, and each feature comprising one or more user stories;
creating a test entity for and corresponding to each scenario of the plurality of scenarios in the BDD specification;
marking each scenario of the plurality of scenarios in the BDD specification with a test IDentifier (ID), the test ID linking the created test entity to the corresponding scenario in the BDD script;
receiving results of execution of one or more scenarios of the plurality of scenarios; and
reporting the received results of the execution of the one or more scenarios of the plurality of scenarios on a per-feature and per-scenario basis.

### Claim 9 (depends on 8)

The system of claim 8, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios comprises parsing the received results into sets of results for each test entity corresponding to the one or more scenarios.

### Claim 10 (depends on 9)

The system of claim 9, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining whether the script defining at least one scenario of the one or more scenarios was changed prior to execution of the at least one scenario; and
in response to determining the script defining the at least one scenario was changed prior to execution of the at least one scenario, marking the script defining the least one scenario as needing an approval.

### Claim 11 (depends on 9)

The system of claim 9, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining whether an executed version of the script defining at least one scenario of the one or more scenarios is a latest version of the script defining the at least one scenario; and
in response to determining the executed version of the script defining the at least one scenario is not the latest version of the script defining the at least one scenario, marking the script defining the least one scenario as needing an update.

### Claim 12 (depends on 9)

The system of claim 9, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining an automation status for execution of each scenario of the one or more scenarios and the BDD specification; and
marking each scenario of the one or more scenarios and the BDD specification with the determined automation status.

### Claim 13 (depends on 9)

The system of claim 9, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining whether the script defining at least one scenario of the one or more scenarios comprises a new script; and
in response to determining the script defining the at least one scenario of the one or more scenarios comprises a new script, creating a new test entity for the at least one scenario and associating the received results for the at least one scenario with the new test entity.

### Claim 14 (depends on 8)

The system of claim 8, further comprising synchronizing, by the ALM system, the received results of execution of the plurality of scenarios with the BDD specification.

### Claim 15

A non-transitory, computer-readable medium comprising a set of instructions stored therein which, when executed by a processor, causes the processor to manage a software application lifecycle by:
receiving a Behavior Driven Development (BDD) specification for an application, the BDD specification comprising 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 plurality of features of the application, and each feature comprising one or more user stories;
creating a test entity for and corresponding to each scenario of the plurality of scenarios in the BDD specification;
marking each scenario of the plurality of scenarios in the BDD specification with a test IDentifier (ID), the test ID linking the created test entity to the corresponding scenario in the BDD script;
receiving results of execution of one or more scenarios of the plurality of scenarios;
reporting the received results of the execution of the one or more scenarios of the plurality of scenarios on a per-feature and per-scenario basis; and
synchronizing the received results of execution of the plurality of scenarios with the BDD specification.

### Claim 16 (depends on 15)

The non-transitory, computer-readable medium of claim 15, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios comprises parsing the received results into sets of results for each test entity corresponding to the one or more scenarios.

### Claim 17 (depends on 15)

The non-transitory, computer-readable medium of claim 15, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining whether the script defining at least one scenario of the one or more scenarios was changed prior to execution of the at least one scenario; and
in response to determining the script defining the at least one scenario was changed prior to execution of the at least one scenario, marking the script defining the least one scenario as needing an approval.

### Claim 18 (depends on 15)

The non-transitory, computer-readable medium of claim 15, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining whether an executed version of the script defining at least one scenario of the one or more scenarios is a latest version of the script defining the at least one scenario; and
in response to determining the executed version of the script defining the at least one scenario is not the latest version of the script defining the at least one scenario, marking the script defining the least one scenario as needing an update.

### Claim 19 (depends on 15)

The non-transitory, computer-readable medium of claim 15, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining an automation status for execution of each scenario of the one or more scenarios and the BDD specification; and
marking each scenario of the one or more scenarios and the BDD specification with the determined automation status.

### Claim 20 (depends on 15)

The non-transitory, computer-readable medium of claim 15, wherein reporting the received results of the execution of the one or more scenarios of the plurality of scenarios further comprises:
determining whether the script defining at least one scenario of the one or more scenarios comprises a new script; and
in response to determining the script defining the at least one scenario of the one or more scenarios comprises a new script, creating a new test entity for the at least one scenario and associating the received results for the at least one scenario with the new test entity.
