You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2010/02/16 11:47:29 UTC

[jira] Created: (JCR-2495) Exclude tests instead skipping them

Exclude tests instead skipping them
-----------------------------------

                 Key: JCR-2495
                 URL: https://issues.apache.org/jira/browse/JCR-2495
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-jcr2spi
    Affects Versions: 2.1.0
            Reporter: Michael Dürig
            Assignee: Michael Dürig


jcr2spi tests run with the spi2jcr module by default so they are configured to be skipped when jcr2spi is built. Manually running a jcr2spi test like this

mvn -Dtest=MyTest -Dmaven.test.skip=false test

does not work however. The pom configuration seems to take precedence here. 

To fix this I propose to exclude all test instead of skipping them making it possible to manually execute tests like this

mvn -Dtest=MyTest test


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2495) Exclude tests instead skipping them

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig resolved JCR-2495.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

Fixed at revision 910462

> Exclude tests instead skipping them
> -----------------------------------
>
>                 Key: JCR-2495
>                 URL: https://issues.apache.org/jira/browse/JCR-2495
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 2.1.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.1.0
>
>
> jcr2spi tests run with the spi2jcr module by default so they are configured to be skipped when jcr2spi is built. Manually running a jcr2spi test like this
> mvn -Dtest=MyTest -Dmaven.test.skip=false test
> does not work however. The pom configuration seems to take precedence here. 
> To fix this I propose to exclude all test instead of skipping them making it possible to manually execute tests like this
> mvn -Dtest=MyTest test

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.