You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2017/08/17 14:37:00 UTC

[jira] [Commented] (SLING-7060) Allow running a test only if a certain bundle is present at a certain version

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

Bertrand Delacretaz commented on SLING-7060:
--------------------------------------------

I see that you have already implemented something - I was going to mention http://junit.sourceforge.net/javadoc/org/junit/Assume.html which can help for this

> Allow running a test only if a certain bundle is present at a certain version
> -----------------------------------------------------------------------------
>
>                 Key: SLING-7060
>                 URL: https://issues.apache.org/jira/browse/SLING-7060
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>             Fix For: Commons Testing 2.1.2
>
>
> Now that the launchpad is working with releases only, integration tests for yet-unreleased versions should not run, as they would cause a test failure.
> We should add support to HttpTestBase for skipping tests based on the BSN and version.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)