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

Bertrand Delacretaz commented on SLING-5369:
--------------------------------------------

JUnit 4.12 should be ok, if the full build including integration tests passes 
we're good.

I haven't found time to look at SLING-3821 yet.

> Update to JUnit 4.12
> --------------------
>
>                 Key: SLING-5369
>                 URL: https://issues.apache.org/jira/browse/SLING-5369
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: JUnit Core 1.0.14
>            Reporter: Thierry Ygé
>
> Currently JUnit Core is based on JUnit 4.11, in SLING-5352, some improvement 
> could benefit from the enhancement implemented  in JUnit 4.12 related to 
> possibility to combine both ClassRule and Rule annotation for a static field.
> That would be a great help to simplify the use case discussed in SLING-5352.
> simply update the version on the pom.xml would be sufficient.
> from  4.11
> {noformat}
> ...
> <properties>
> <junit.version>4.11</junit.version>
> <hamcrest.version>1.3</hamcrest.version>
> <jacoco.version>0.6.2.201302030002</jacoco.version>
> </properties>
> ...
> {noformat}
> to 4.12
> {noformat}
> ...
> <properties>
> <junit.version>4.12</junit.version>
> <hamcrest.version>1.3</hamcrest.version>
> <jacoco.version>0.6.2.201302030002</jacoco.version>
> </properties>
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to