Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51977

Test alias is shown with hidden beginning

    XMLWordPrintable

Details

    Description

      I'm using the Xunit to perform my tests. 

      I've decorated all tests with properties like this:
      [Fact(DisplayName = "My test alias"), TestPriority(1)]

      When I'm into the tests detailed screen on Jenkins it has a table with all my tests and the column "Test Name" apparently tries to show the test alias but it has his beginning hidden.

      It looks like a parsing issue, can anyone help me? 

      Attachments

        Activity

          nfalco Nikolas Falco added a comment -

          Which test tool are you using? Could you attach a generated report?

          nfalco Nikolas Falco added a comment - Which test tool are you using? Could you attach a generated report?
          tiagobarroso_symphy Tiago Barroso added a comment -

          Hi nfalco ,

          I'm performing my tests using a test project written in C# using XUnit libraries. 
          I've attached the result file "result.xml" as you asked. 

          Thanks! 

          tiagobarroso_symphy Tiago Barroso added a comment - Hi nfalco , I'm performing my tests using a test project written in C# using XUnit libraries.  I've attached the result file "result.xml" as you asked.  Thanks! 
          nfalco Nikolas Falco added a comment - - edited

          Are you sure did you attach the correct report?

          The actual XSL produce the following result that seems to be correct:

          <?xml version="1.0" encoding="UTF-8"?>
          <testsuites>
              <testsuite name="UnitTest" tests="5" time="92.728" timestamp="2018-06-15T18:07:56" failures="0" errors="0" skipped="0">
                  <properties>...</properties>
                  <testcase classname="UnitTest.UnitTest" name="Uninstall application if it is installed." time="48.391" />
                  <testcase classname="UnitTest.UnitTest" name="Install application." time="33.145" />
                  <testcase classname="UnitTest.UnitTest" name="Check if all installed files are there." time="3.040" />
                  <testcase classname="UnitTest.UnitTest" name="Check if the files were signed." time="4.723" />
                  <testcase classname="UnitTest.UnitTest" name="Check if the app is running." time="3.028" />
              </testsuite>
          </testsuites>
          

          Which version of the plugin are you using?

          nfalco Nikolas Falco added a comment - - edited Are you sure did you attach the correct report? The actual XSL produce the following result that seems to be correct: <?xml version= "1.0" encoding= "UTF-8" ?> <testsuites> <testsuite name= "UnitTest" tests= "5" time= "92.728" timestamp= "2018-06-15T18:07:56" failures= "0" errors= "0" skipped= "0" > <properties> ... </properties> <testcase classname= "UnitTest.UnitTest" name= "Uninstall application if it is installed." time= "48.391" /> <testcase classname= "UnitTest.UnitTest" name= "Install application." time= "33.145" /> <testcase classname= "UnitTest.UnitTest" name= "Check if all installed files are there." time= "3.040" /> <testcase classname= "UnitTest.UnitTest" name= "Check if the files were signed." time= "4.723" /> <testcase classname= "UnitTest.UnitTest" name= "Check if the app is running." time= "3.028" /> </testsuite> </testsuites> Which version of the plugin are you using?
          tiagobarroso_symphy Tiago Barroso added a comment -

          The current installed version is : 1.103

          tiagobarroso_symphy Tiago Barroso added a comment - The current installed version is : 1.103
          nfalco Nikolas Falco added a comment -

          This is already fixed in last version

          nfalco Nikolas Falco added a comment - This is already fixed in last version

          People

            nfalco Nikolas Falco
            tiagobarroso_symphy Tiago Barroso
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: