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

Due to new XML report formats (Surefire 3.0), Xray should support XML with Tests where only the Classname is passed and the Test Name is empty

    XporterXMLWordPrintable

Details

    • Suggestion
    • Status: Gathering Interest
    • Resolution: Unresolved
    • None
    • None
    • JUnit
    • None
    • UNCOVERED

    Description

      Due to new XML report formats (Surefire 3.0), Xray should support XML with Tests where only the Classname is passed and the Test Name is empty.

      Currently, when importing an XML like the one shown below, the import fails with the error:

      {"error":"Project Key and Summary are required to create a new Test"}
      

      Consider the example below:

      <testcase name="com.xblend.thisisthetestcasename" classname="com.xblend.thisistheclassename" time="0">
        <skipped/>
      </testcase>
      
      Supported now as well:
      <testcase name="" classname="com.xblend.thisistheclassename" time="0">
        <skipped/>
      </testcase>
      

      Attachments

        Activity

          People

            helder.ferreira Helder Ferreira
            amgt Ana Teixeira
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: