Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. QA Tools
  3. Squish
  4. "Background" syntax from Gherkin is not supported
Forum Updated to NodeBB v4.3 + New Features

"Background" syntax from Gherkin is not supported

Scheduled Pinned Locked Moved Unsolved Squish
2 Posts 1 Posters 684 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SquishHammer
    wrote on last edited by
    #1

    Hey!

    I want to use "Background" syntax from Gherkin language, to reduce code redundancy similar to these scenarios that I found in a Squish tutorial.
    fc4710bb-f003-4c77-91a6-2ffbef5cf9eb-image.png

    For example, in these scenarios, each scenarios repeats the "Given address book application is running; And I create a new addressbook". These are perfect use case for "Background" keyword.
    https://cucumber.io/docs/gherkin/reference/#background

    But when I try this in Squish, The things I wrote in the "Background" is not recognised as a scenario or anywhere in the Test Case Resources.

    Does Background syntax work in Squish?

    Best,
    SquishHammer

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SquishHammer
      wrote on last edited by
      #2

      Sorry, it actually works. I was stuck somewhere else before and didnt' realize it. Thank you!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved