You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Julian Sedding (Jira)" <ji...@apache.org> on 2020/10/16 09:22:00 UTC

[jira] [Resolved] (SLING-9542) Unable to use junit categories with sling junit core

     [ https://issues.apache.org/jira/browse/SLING-9542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Sedding resolved SLING-9542.
-----------------------------------
    Fix Version/s: JUnit Core 1.1.0
       Resolution: Fixed

This should have been resolved with SLING-9795, because that adds exports for the mentioned packages.

 

[~nitin.nizhawan] please verify, if this is still relevant for you. Thanks.

> Unable to use junit categories with sling junit core 
> -----------------------------------------------------
>
>                 Key: SLING-9542
>                 URL: https://issues.apache.org/jira/browse/SLING-9542
>             Project: Sling
>          Issue Type: Bug
>          Components: JUnit Core
>            Reporter: Nitin Nizhawan
>            Assignee: Julian Sedding
>            Priority: Major
>             Fix For: JUnit Core 1.1.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Sling Junit core embeds JUnit and exports JUnit packages. These junit packages are imported by test case bundles created by teleporter.  If however, test cases use junit categories to filter tests then such tests to not work. 
> This is because sling junit core exports only some junit package. Specifically, it does not export org.junit.experimental.categories and org.junit.validator



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