Provide a custom @SpringBootTest to avoid ClassNotFoundException and reduce dependency footprint#17
Conversation
|
See my comment here: quarkusio/quarkus#51056 (comment) TL;DR; - if we have to invent a custom annotation masking the Spring one, then I'm not sure what this really buys us nor if we should even do it. |
cescoffier
left a comment
There was a problem hiding this comment.
let's wait until we decide if we want to reuse the existing annotation or create a new one.
|
We were discussing about this in Zulip and we are finally tuning @SpringBootTest for avoiding runtime exceptions and allow users to use it as in Spring, without changing the package. Look the Quarkus PR |
edeandrea
left a comment
There was a problem hiding this comment.
Just a comment about the Quarkus version being referenced and the use of quarkus-junit5 instead of quarkus-junit?
|
Hi @edeandrea, I’d like to move forward on this – could you have a look at it when you have a moment? I’m available to discuss the solution, but we can’t expect miracles. We can’t have it all; running the original code on Quarkus isn’t possible |
|
LGTM! |
Added a customized @SpringBootTest for Quarkus avoiding classes needed at runtime.
Once merged, we need to release this artifact and update the corresponding Quarkus PR: quarkusio/quarkus#51056
cc @cescoffier