Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-326

As system, whenever standalone Cucumber tests are exported, the Feature name section should be filled using the summary of the source entity

    XporterXMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.005.000
    • None
    • None
    • NOTRUN

    Description

      As system, whenever standalone Cucumber tests (i.e. tests not linked to requirements) are exported, the "Feature" name section of the generated .feature(s)  should be filled with the summary of the issue that was selected as basis for export.

       

      Example1: exporting directly a Cucumber Test

      Thus, considering a simple cucumber Test issue with these fields:

       

      Test Summary: sum of two positive numbers 

      Test Scenario: 

       

         Given I have this
         When I do this
         Then I should see that
      

       

      if it was exported it should produce a .feature with this content:

      Feature: sum of two positive numbers
      
      Scenario: sum of two positive numbers
         Given I have this
         When I do this
         Then I should see that  

       

      Example2: exporting Cucumber Tests from a Test Set issue

      Test Set Summary: core tests

       

      Test Summary: sum of two positive numbers 

      Test Scenario: 

         Given I have this
         When I do this
         Then I should see that
      

       

      Test Summary: successful login

      Test Scenario: 

         Given I have a username
         When I login
         Then I should see the welcome page
      

       

      if it was exported it should produce a .feature with this content:

      Feature: core tests
      
      Scenario: sum of two positive numbers
         Given I have this
         When I do this
         Then I should see that  
      
      Scenario: successful login
         Given I have this
         When I do this
         Then I should see that  

       

      Attachments

        Activity

          People

            ampr Andre Rodrigues [X] (Inactive)
            smsf Sergio Freire
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: