Paul King created GROOVY-11887:
----------------------------------

             Summary: Scripting support for JUnit5 condition execution
                 Key: GROOVY-11887
                 URL: https://issues.apache.org/jira/browse/GROOVY-11887
             Project: Groovy
          Issue Type: New Feature
            Reporter: Paul King
            Assignee: Paul King


JUnit used to support @EnabledIf scripting (and @DisabledIf) where a String 
would be evaluated using e.g. JavaScript. This was deprecated in 5.5 and 
removed in 5.6. Instead in 5.7, a different @EnabledIf was introduced that 
point to a method name. The original scripting support was removed when 
JavaScript support was dropped but also since it was seen as a potential 
security issue. Groovy users are more familiar with using scripting in secure 
ways and do have a scripting language available, so this issue will look at 
adding @GroovyEnabledIf and @GroovyDisabledIf annotations to bring back the 
scripting support.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to