Repository navigation
ParameterDeclarations #5407
KarolyNevelos
started this conversation in
General
Replies: 1 comment
There is currently no way to do this. I think we could refactor things a bit and introduce factory methods for creating instances for a test class or constructor/method. Is that really all you need, though? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi All,
Since the version
5.13.3theprovideArgumentsmethod of theArgumentsProviderinterface requires aParameterDeclarationsas a first parameter. I am working on customTestTemplateandClassTemplate, which is planning to reuse theArgumentsSourceannotations, extending the functionality with joining an additional context, and executing the same parametrized tests against each of the contexts.Is there any support to instantiate the public
ParameterDeclarationsinterface for custom extensions, similarly how the package protectedResolverFacadeis doing it in theorg.junit.jupiter.paramspackage forParametrizedTests?All reactions