maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-839) If no tests are found that would match a given JUnit category, mvn test should not fail in multi-module project
Date Wed, 05 Dec 2012 21:44:13 GMT

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

Kristian Rosenvold closed SUREFIRE-839.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.13
         Assignee: Kristian Rosenvold

Fixed with IT in d342273c30c0ec8aa5ba58603b1d9ceea5039278
                
> If no tests are found that would match a given JUnit category, mvn test should not fail
in multi-module project
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-839
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-839
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Junit 4.7+ (parallel) support
>    Affects Versions: 2.12
>            Reporter: Martin Burger
>            Assignee: Kristian Rosenvold
>             Fix For: 2.13
>
>
> In a multi-module project, I configured Surefire to execute tests of a selected JUnit
category only. Unfortunately, not all modules contain tests in that category, which makes
mvn test fail:
> Tests in error: 
>   initializationError(org.junit.runner.manipulation.Filter): No tests found matching
*foo.junit.categories.SlowTests from org.junit.runner.Request$1@15a
> If a module does not contain any test that would match the given category, Surefire should
continue instead. Note that specifying -DfailIfNoTests=false does not help in that case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message