xiao-lu created SUREFIRE-1952:
---------------------------------

             Summary: surefire report testcase name and class name are not 
correct if feature name has parentheses
                 Key: SUREFIRE-1952
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1952
             Project: Maven Surefire
          Issue Type: Bug
            Reporter: xiao-lu
         Attachments: image-2021-10-26-15-50-54-552.png

feature file looks like below. There is parentheses in feature name. The bug 
code is in 
org.apache.maven.surefire.api.util.internal.TestClassMethodNameUtils. 
Everything is working fine when there is no parentheses in feature name.

@billing @bicker @annoy
Feature: {color:#de350b}Some (feature){color}
 A description with
 multiple
 lines

Background:
 Given a global administrator named "Greg"
 * a blog named "Greg's anti-tax rants"
 * a customer named "Wilson"

@Quick @full @annoy
 Scenario: Some determinable business situation
 Given the following people exist:
 | name | email | phone |
 | Aila | [email protected] | 123 |
 | Joe | [email protected] | 234 |
 And some precondition 1
 When some action by the actor
 And some other action
 Then some testable outcome is achieved
 And something else we can check happens too

However the {color:#de350b}test report{color} looks like below. 

!image-2021-10-26-15-50-54-552.png!

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to