You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/12/07 22:10:03 UTC

[jira] [Closed] (GROOVY-9767) GroovyAssert should not depend on org.junit.Assert

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

Paul King closed GROOVY-9767.
-----------------------------

> GroovyAssert should not depend on org.junit.Assert
> --------------------------------------------------
>
>                 Key: GROOVY-9767
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9767
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>              Labels: breaking
>             Fix For: 4.0.0-alpha-2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This will make GroovyAssert a good companion to also JUnit5 without JUnit4 jar on the classpath.
> Involves:
> * References to {{assertTrue}} and {{fail}} should be removed (trivial)
> * Hard-coded {{Test}} annotation check should be replaced with name check
> * GroovyAssert should not extend org.junit.Assert. The methods in org.junit.Assert are static and can be statically imported directly.
> For Groovy 4 only.



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