Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-3383

As system, Cucumber step's placeholders for variables must be ignored whenever added to the Automated Steps Library

    XporterXMLWordPrintable

Details

    • Suggestion
    • Status: New
    • Resolution: Unresolved
    • None
    • None
    • BDD Step Library
    • None
    • UNCOVERED

    Description

      As system, Cucumber step's placeholders for variables (common  in Scenario Outlines) including its text (i.e. <whatever>) must be ignored whenever added to the Automated Steps Library. 

        

      Thus, 

        

       
      Given I have entered <input_1> and <input_2> into the calculator \{noformat} 
        
      
      should be stored as the following step in the library: 
      
        
      

       
      Given I have entered <> and <> into the calculator{noformat} 
        

      Note: a step may contain one or more inline parameters 

        

      ACs: 
       * step must be persisted in the library without the values of the placeholders 
       * whenever editing the stripped step within the library, it must update the corresponding Tests no matter what values they may be using for the parameters 

        

      References: 
       * [https://docs.cucumber.io/gherkin/reference/|https://docs.cucumber.io/gherkin/reference/#step-arguments
       * projects with .features  that can be used to validate this: [https://docs.cucumber.io/community/projects-using-cucumber/]

      Attachments

        Issue Links

          Activity

            People

              helder.ferreira Helder Ferreira
              smsf Sergio Freire
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: