[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-375872140
 
 
   @mpkorstanje -- Thank you.. I did try by providing @CucumberOptions(junit = "--no-step-notifications") . but no luck.. I need each step to be show in my report.
   
   Please find below my runner file  - Parallel01it.java (parallel execution)
   
   @RunWith(Cucumber.class)
   @CucumberOptions(
           strict = true,
           features = {"/Automation/WOW-Automation-Web/src/test/resources/features/TestScenario.feature:5"},
           plugin = {"pretty", "junit:/Automation/Automation-Web/target/cucumber-parallel/1.xml", "html:/Automation/Automation-Web/target/cucumber-parallel/1", "json:/Automation/Automation-Web/target/cucumber-parallel/1.json", "rerun:/Automation/Automation-Web/target/cucumber-parallel/1.txt"},
           junit = "--no-step-notifications",
           monochrome = true,
               glue = {"steps"})
   
   
   **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**
   
   Below is what I am getting at present:
   
   ![image](https://user-images.githubusercontent.com/33118961/37863208-9c2b116e-2fae-11e8-98aa-04854949928a.png)
   
   
     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"/>
   
   **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.**
   
     testcase name="Given I am on the 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 "The sign up was not successful." and "There are 6 field(s) that require your attention."" 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 "First name is required."" 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 "Last name is required."" 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 "Email address is required."" 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 "Password is required."" 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 "Phone number is required."" 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 "Address is required."" 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"/>
   
   
   
   
   
   

----------------------------------------------------------------
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