[arquillian-issues] [Red Hat JIRA] (ARQ-2211) JUnit 5 Method Parameter Support
by James Perkins (Jira)
[ https://issues.redhat.com/browse/ARQ-2211?page=com.atlassian.jira.plugin.... ]
James Perkins commented on ARQ-2211:
------------------------------------
Just realized I couldn't assign this to myself, but feel free to assign it to me if no one else is looking at this.
> JUnit 5 Method Parameter Support
> --------------------------------
>
> Key: ARQ-2211
> URL: https://issues.redhat.com/browse/ARQ-2211
> Project: Arquillian
> Issue Type: Enhancement
> Reporter: James Perkins
> Priority: Major
>
> In JUnit 5 a {{ParameterResolver}} was introduced to allow parameters to be passed. Arquillian also supports parameters being passed, e.g. {{public void someTestMethod(@ArquillianResource URL url)}}. However this fails with JUnit 5 as a {{ParameterResolver}} cannot be found.
> An option I've tested with is having the {{ArquillianExtension}} implement the {{ParameterResolver}}. This works, but doesn't really have a good way to resolve the parameter so it takes a bad hack, likely broken, to get the value. I'm open to ideas on how we could resolve this.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 9 months
[arquillian-issues] [Red Hat JIRA] (ARQ-2211) JUnit 5 Method Parameter Support
by James Perkins (Jira)
James Perkins created ARQ-2211:
----------------------------------
Summary: JUnit 5 Method Parameter Support
Key: ARQ-2211
URL: https://issues.redhat.com/browse/ARQ-2211
Project: Arquillian
Issue Type: Enhancement
Reporter: James Perkins
In JUnit 5 a {{ParameterResolver}} was introduced to allow parameters to be passed. Arquillian also supports parameters being passed, e.g. {{public void someTestMethod(@ArquillianResource URL url)}}. However this fails with JUnit 5 as a {{ParameterResolver}} cannot be found.
An option I've tested with is having the {{ArquillianExtension}} implement the {{ParameterResolver}}. This works, but doesn't really have a good way to resolve the parameter so it takes a bad hack, likely broken, to get the value. I'm open to ideas on how we could resolve this.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 9 months