Understanding Lastrun for BDD Scenarios on BDD Specs

Опубликовано: 30 Май 2026
на канале: Octane and ValueEdge Academy
115
0

Overview: Gherkin test vs. BDD spec framework
ALM Octane offers you two frameworks for working with BDD: either using Gherkin tests where all scenarios in a test are run each time, or using BDD specifications where you can run each scenario on its own.

A Gherkin test will give you a run result for the whole feature file, while a BDD spec gives a run result per scenario in the feature file.
Advantages of the BDD spec framework

The BDD spec framework described in this section offers you greater granularity than Gherkin tests:

-You can run individual scenarios.

-You can report on a scenario run level.

-You can partially automate a specification to only run some of its scenarios.

-You can link specific scenarios to specific backlog items.

For example, if you have a Gherkin test with 20 scenarios and only 19 of them pass, the test fails. In the BDD framework you can run 20 scenarios separately, and immediately identify a failed scenario.

You can also add specific scenarios to a suite, and do not need to run the full Gherkin test each time.

For more Informations: https://admhelp.microfocus.com/octane...