You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/02/24 14:18:00 UTC

[jira] [Commented] (JCRVLT-505) Separate unit test from integration tests

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

Konrad Windszus commented on JCRVLT-505:
----------------------------------------

It is even worse, because profile {{test-jackrabbit}} tests with Oak as well (https://github.com/apache/jackrabbit-filevault/blob/6cd119fe4e9e2bc2602e71259e74aeb1ac04dab6/vault-core/pom.xml#L315)

> Separate unit test from integration tests
> -----------------------------------------
>
>                 Key: JCRVLT-505
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-505
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: vlt
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.4.10
>
>
> Currently all tests are executed by maven-surefire-plugin twice in the artifact {{org.apache.jackrabbit.vault}}. Once with Jackrabbit and once with Oak.
> This is useless for all Unit Tests (as they should not differ) and only makes sense for real integration tests. Therefore the integration test should instead be executed by maven-failsafe-plugin. For that they need to be renamed to be included (https://maven.apache.org/surefire/maven-failsafe-plugin/integration-test-mojo.html). Also only the ITs should be executed twice.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)