Skip to content

Gherkin⚓︎

This curated list showcases Gherkin features generated by our GEN-AI pipeline, leveraging advanced LLM to discover scripts based on your code. These features are tailored to optimize test automation, enhancing efficiency and effectiveness in your software testing endeavors. Explore this resource to streamline your testing processes and elevate your development workflow with precision-generated scripts.

SignGuestbook.feature⚓︎

Feature: Sign the Guest Book

  Background:
    Given the COBOL Guest Book Webapp is running

  Scenario: Successfully sign the guest book
    Given I have the following signer details
      | name    | John Doe       |
      | message | Great service! |
    When I submit a request to sign the guest book
    Then the response should indicate the signing was successful
    And the response should contain "Thank you, John Doe, for your message!"

  Scenario: Attempt to sign with missing name
    Given I have the following signer details
      | message | Missing name! |
    When I submit a request to sign the guest book
    Then the response should indicate a failure due to missing name
    And the response status code should be 400

  Scenario: Attempt to sign with missing message
    Given I have the following signer details
      | name | Jane Doe |
    When I submit a request to sign the guest book
    Then the response should indicate a failure due to missing message
    And the response status code should be 400

ViewGuestbook.feature⚓︎

Feature: View the Guest Book

  Background:
    Given the COBOL Guest Book Webapp is running

  Scenario: View all guest book entries
    When I submit a request to view the guest book
    Then the response should be successful
    And the response should contain a list of all guest book entries

  Scenario: View guest book when it's empty
    Given the guest book currently has no entries
    When I submit a request to view the guest book
    Then the response should be successful
    And the response should indicate the guest book is empty