Visual BDD: Optimised Gherkin Scenarios with on-the-fly data using model-based testing and Micro Focus Octane 

Generate complete Gherkin specifications with matching test data, pushed to test automation frameworks for continuous test execution. Test Modeller brings product owners, developers and testers into close collaboration, rapidly and reliably moving software from idea to production. 

Test-Driven Development or Testing-Lagging-Behind? 

Behaviour-Driven Development offers a delivery practice for rapidly communicating system change requests, with close communication between designers, developers and testers. However, the complexity of fast-growing systems means that using Gherkin specifications alone is not enough to reliably test and deliver quality software spring-over-sprint. Often, out-of-date scenarios are reflected in out-of-date tests, while technical debt grows as new scenarios cannot be converted manually to tests and data in-sprint.  

Book a free consultation

The scenarios furthermore often focus only on a narrow subset of “happy path” system logic and testing in turn overlooks the negative scenarios and outliers needed to detect damaging defects prior to release. Manually scripting or editing automated tests throws up further bottlenecks, while out-of-date and incomplete test data further undermines test coverage. Data clashes and false negatives during test execution create further delays, as business-critical systems are left exposed to bugs release after release. 

Visual BDD: Optimised Gherkin Scenarios with Matching Test Data and Scripts

Test Modeller enables cross-functional teams to translate fast-flowing change requests into complete Gherkin specifications and automated test suites, rapidly and reliable moving from idea to release. New Gherkin specifications and feature files are rapidly converted into intuitive visual flowcharts, consolidating the logic and filling in any gaps.  The flowcharts contain any example data from the Gherkin, while synthetic test data generation functions and re-usable data “Find and Makes” can be overlaid rapidly. Automated coverage algorithms then compile the models into a complete set of Gherkin specificationswhile generating the smallest set of test cases needed to test the logic they contain.  

Visual Behaviour-Driven Development

Start your free trial

The complete Gherkin specifications drive reliable development and can be exported in parallel to test management tools and test automation frameworks for truly test-driven development. The data generation functions and automated data “Find and Makes” furthermore resolve on-the-fly as the Gherkin is converted into automated tests, creating an up-to-date test suite complete with accurate test data. New Gherkin specifications and change requests can subsequently be added seamlessly to the existing models, rapidly and reliable updating the logically complete specifications and automated tests. Product owners, developers and testers can all collaborate closely from the same logical models, incorporating changing user requirements without compromising the quality of each release. 

Model-Based Test Automation for Behaviour-Driven Development

Watch this short demo of model-based UI test automation for a CRM using Gherkin and Micro Focus Octane to discover how: 

  1. Intuitive flowchart design makes it quick and easier for “business” users to generate optimised test suites, rapidly importing Gherkin scenarios with embedded data.
  2. New Gherkin scenarios can be modelled and generated rapidly, tagging flowcharts with “Given, When, Then” to generate a complete set of scenarios instead of writing them one by one.
  3. A comprehensive set of data generation functions and a reusable test data catalogue define test data for every test, resolving “just in time” to allocate accurate data as tests run.
  4. Automated data “Find and Makes” hunt for data combinations from across databases, files and the mainframe, generating missing combinations on-the-fly to retain maximum coverage.
  5. Coverage algorithms generate the smallest set of test cases needed to cover the logic in the modelled scenarios, minimising test design time while detecting more bugs first time round.
  6. Exporting the tests to a Micro Focus Octane test suite and data pool exports the rigorous set of Gherkin scenarios, complete with the “just in time” data embedded in special tags.
  7. Octane generates the “glue code” needed to execute the complete test suite and data.
  8. Executing the optimised Gherkin from existing test automation frameworks resolves the test data “just in time”, running a comprehensive test suite without test data bottleneck

Speak with an expert