[GitHub] adarshkv commented on issue #150: SUREFIRE-1372 Filter tests to be rerun by description

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] adarshkv commented on issue #150: SUREFIRE-1372 Filter tests to be rerun by description

GitBox
adarshkv commented on issue #150: SUREFIRE-1372 Filter tests to be rerun by description
URL: https://github.com/apache/maven-surefire/pull/150#issuecomment-375536168
 
 
   Hi All.. with the new version of maven-surefire 2.21.0 and cucumber-jvm 2.4.0 (io.cucucmber)... we are able to perform rerun's successfully.
   
   However, I am facing a new issue with regards to reporting... in our project we have integrated our reports with VSTS i.e. after I perform parallel execution (using docker container) all the reports are getting generated with TEST-.(*).xml and VSTS then consolidates all the .xml files to give us a single report after parallel execution. But in the XML the testcase names are missing i.e. we are not able to view each step definitions (step-step names Given When Then) rather I am seeing only the scenario name as a result.. is anyone aware why we are having this ? and how we can resolve this issue?
   
   **Below is my XML file if i am using info.cukes as group ID for execution (cucumber-jvm v 1.2.5) -- Rerun doesnt work here but test case name is available.**
   
       <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
       <property name="java.class.version" value="52.0"/>
   </properties>
     **<testcase name="Given I am on the xxxx home page" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="When I click on Login Profile on home page" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="And I click on sign up in login page" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="Then I click on Sign Up" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="And I should see the valid message &quot;The sign up was not successful.&quot; and &quot;There are 6 field(s) that require your attention.&quot;" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="And I should see error message for first name &quot;First name is required.&quot;" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0.008"/>
     <testcase name="And I should see error message for last name &quot;Last name is required.&quot;" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="And I should see error message for email address &quot;Email address is required.&quot;" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="And I should see error message for password &quot;Password is required.&quot;" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="And I should see error message for preferred contact number &quot;Phone number is required.&quot;" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="And I should see error message for delivery address &quot;Address is required.&quot;" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="0"/>
     <testcase name="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" classname="Scenario: Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="1.288"/>**
   </testsuite>
   
   
   
   **Below is the my XML file if I am using io.cucumber as group id for execution (cucumber-jvm v 2.4.0) --- Rerun works perfectly fine but testcase name is missing**
   
       <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
       <property name="java.class.version" value="52.0"/>
     </properties>
   
   
     **<testcase name="Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" classname="Sign Up Verify That Error Message Is Shown If Any Of The Mandatory Field Is Left Blank" time="18.391"/>**
   </testsuite>
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services