You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestManager must discover the content annotation. I have something working with help of a @QuarkusTestResourceRepeatable annotation on the containing annotation type. If the design is accepted, I will open a PR.
@QuarkusTestResource(AnnotationBasedQuarkusTestResource.class)
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Repeatable(WithAnnotationBasedTestResource.List.class)
public @interface WithAnnotationBasedTestResource {
Stringkey() default"";
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@QuarkusTestResourceRepeatable(WithAnnotationBasedTestResource.class)
@interface List {
WithAnnotationBasedTestResource[] value();
}
}
Description
Currently, Annotation-based test resources are not repeatable.
I would like to be able to do somehting like
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: