You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2019/06/01 11:32:00 UTC

[jira] [Commented] (SUREFIRE-827) Surefire 2.12 cannot run a single test, regression from 2.11

    [ https://issues.apache.org/jira/browse/SUREFIRE-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853671#comment-16853671 ] 

Tibor Digana commented on SUREFIRE-827:
---------------------------------------

[~mnowotnik]
{{2.19.1}} is very old version. Try to avoid {{my_module}} in the pattern and use only {{mvn surefire:test "-Dtest=**/MyTest.java"}} and you can of course use the latest version {{3.0.0-M3}}. Notice that the patter uses directories of Java package. Do not use module name. In later version we will change the format of patter, and we will use a typically fully qualified class names which is very natural for Java developers.

> Surefire 2.12 cannot run a single test, regression from 2.11
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-827
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-827
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support
>    Affects Versions: 2.12
>         Environment: Ubuntu 11.10
>            Reporter: Andrew Gaul
>            Assignee: Kristian Rosenvold
>            Priority: Major
>             Fix For: 2.12.1
>
>         Attachments: BUG-827.zip
>
>
> # Surefire 2.11
> $ mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> # Surefire 2.12
> mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)