You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/06/27 20:02:00 UTC
[jira] [Closed] (SUREFIRE-1838) Ability to run an inner class or a method within
[ https://issues.apache.org/jira/browse/SUREFIRE-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed SUREFIRE-1838.
------------------------------------
Resolution: Not A Problem
> Ability to run an inner class or a method within
> ------------------------------------------------
>
> Key: SUREFIRE-1838
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1838
> Project: Maven Surefire
> Issue Type: Bug
> Components: Junit 4.x support
> Affects Versions: 3.0.0-M5
> Reporter: Ernst Reissner
> Priority: Major
>
> invocations like
> ```
> mvn surefire:test -Dtest=XFPNumberTest$AxField$AddGroup
> ```
> do not restrict to inner classes as expected.
> The same with methods within.
>
> In fact, this prevents single methods from being invoked individually,
> if test classes are nested like in
>
> ```
> mvn surefire:test -Dtest=XFPNumberTest$AxField$AddGroup.testXXX
> ```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)