Running SQL queries for a specific test #45376
Unanswered
alexandre-touret
asked this question in
Q&A
Replies: 1 comment
-
@alexandre-touret There is no easy way out, I'm sorry :) We used Spring heavily, and the So, in every individual case the solution looks different, depending on the underlying persistence technology in place. |
Beta Was this translation helpful? Give feedback.
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,
I'm a newcomer to code with Quarkus.
Everything is fine. However, I have one worry with the integration tests against SQL databases.
I would like to run some SQL files only for few integration tests.
Currently I can only inject one file (
import.sql
) at the startup for all the tests.For instance, on Spring boot, we can use the
@Sql
for that purpose.How can I get the same behaviour (or equivalent) in Quarkus?
Thanks for your help.
Alexandre
Beta Was this translation helpful? Give feedback.
All reactions