[ 
https://issues.apache.org/jira/browse/SUREFIRE-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SUREFIRE-1952:
-------------------------------------
    Fix Version/s: waiting-for-feedback

> 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
>            Priority: Minor
>             Fix For: waiting-for-feedback
>
>         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 | a...@email.com | 123 |
>  | Joe | j...@email.com | 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.20.10#820010)

Reply via email to