You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2021/12/17 07:56:00 UTC

[jira] [Updated] (SUREFIRE-1952) surefire report testcase name and class name are not correct if feature name has parentheses

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

Slawomir Jaranowski updated SUREFIRE-1952:
------------------------------------------
    Priority: Minor  (was: Critical)

> 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
>         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 | aila@email.com | 123 |
>  | Joe | joe@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.1#820001)