Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

BDD has 4 major features.

  1. Code

  2. My data

    1. Centralized data storage

  3. View

  4. Model

Lets deep dive into the 4 features.

...

To start writing scenarios user should click on Add New Section.

...

.

...

  •   

    Anchor
    View
    View
    View - This featureprovides a graphical building block approach. The building blocks could be rearranged and moved around to modify testcase scenarios. Upon submission, the changes made in the view feature would also be reflected in the code and diagram features.

...

Example: User can write scenario by using Add New Scenario or Add New Scenario Outline by clicking below options as shown

Scenario

...

Scenario outline

...

Both Scenario and Scenario Outline can be written in same feature

...

How to write scenario in View feature

...

Users can change the scenario by shuffling steps, deleting them, and updating them by clicking the Submit button.

·       

Anchor
My-Data
My-Data
My data is a collection of data where users can either drag and drop the output. The following is an example of how a user can create a data collection in BDD

How to create and how to drag and drop into view feature is shown below:

Step by Step:

·        Click on My data from bottom of the page.

·        Click on view all data set icon.

...

·        Click on the Data set icon from left hand corner of the page to create new data set as shown below.

...

·        User can add how many columns and rows are required and name of the data set.

·        Click on back to Project.

·        User can view created Data set as below in My Data option.

...

How to create and Drag Drop data set in view feature as shown below

...

How to delete row or column in data set

To select columns or rows, the user can simply click on the column or row icon located at the page's righthand corner.

...

To delete the desired column or row, the user can manually select it, one row or column at a time.

...

  • Anchor
    isMissingRequiredParameterstrue
    Centralized Data Storage
    Understanding Data Sharing in Gherkin Files

Imagine your application as a library. In this library, there's a main desk (your centralized data storage) where all the important information is kept. This could be user details, settings, or any other critical data your application needs to function.

Gherkin Files: The Bookshelves
In our library, there are several bookshelves (these are your Gherkin files). Each bookshelf contains books (scenarios) that tell different stories (describe different behaviors of your application). However, all these stories are based on the information available at the main desk.

...

Benefits: This approach ensures consistency and ease of maintenance. If you need to change a piece of data, you only update it in one place, and all your Gherkin files will use the updated data. It's like changing a piece of information at the main desk, and all stories in the library automatically update with this new information.

Info

When a user imports a file containing a dataset or example into Conformiq Visualizer, if multiple data entries share the same column name, they will be considered as one data entry (The latest is the truth). To maintain distinct data entries, ensure that each has a unique column title or includes additional columns to differentiate them

Conclusion
By having a single source of truth for your data and spreading it across various Gherkin files, you make your application's behavior-driven development more efficient and manageable. It's a smart way to ensure that all parts of your application are singing the same tune, using the same, up-to-date information.

...

.

...

Example: User can write scenario by using Add New Scenario or Add New Scenario Outline by clicking below options as shown

Scenario

...

Scenario outline

...

Both Scenario and Scenario Outline can be written in same feature

...

How to write scenario in View feature

...

Users can change the scenario by shuffling steps, deleting them, and updating them by clicking the Submit button.

·        My data is a collection of data where users can either drag and drop the output. The following is an example of how a user can create a data collection in BDD

How to create and how to drag and drop into view feature is shown below:

Step by Step:

·        Click on My data from bottom of the page.

·        Click on view all data set icon.

...

·        Click on the Data set icon from left hand corner of the page to create new data set as shown below.

...

·        User can add how many columns and rows are required and name of the data set.

·        Click on back to Project.

·        User can view created Data set as below in My Data option.

...

How to create and Drag Drop data set in view feature as shown below

...

How to delete row or column in data set

To select columns or rows, the user can simply click on the column or row icon located at the page's righthand corner.

...

To delete the desired column or row, the user can manually select it, one row or column at a time.

...

  • Anchor
    Model
    Model
    Model - Using this feature, users can access test scenarios in diagrammatic format and drag and drop test scenarios from the toolbox, as shown below:

...