Run quarkusIntTest against a running application using gradle #27491
Replies: 4 comments 2 replies
-
/cc @glefloch, @quarkusio/devtools |
Beta Was this translation helpful? Give feedback.
-
I am facing the same issue. For Any updates on this? |
Beta Was this translation helpful? Give feedback.
-
As a workaround I am using custom JVM Test Suite (testApp) to run my non-quarkus integration tests against running app using
|
Beta Was this translation helpful? Give feedback.
-
I`m facing the same issue. When running Quarkus starts the jar file and ignores the provided properties. The cause of the problem is that following line does not retrieve the property which is set via gradle -D... or via any property file.
I found a workaround using QuarkusTestProfile:
Unfortunately this is not as flexible as I like, but that is a starting point. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The testing guide states that you can run integration tests using against a running app using:
./mvnw verify -Dquarkus.http.test-host=1.2.3.4 -Dquarkus.http.test-port=4321
I am trying to the the same thing, but using gradle:
./gradlew quarkusIntTest -Dquarkus.http.test-host=1.2.3.4 -Dquarkus.http.test-port=4321
However it did not worked.
Beta Was this translation helpful? Give feedback.
All reactions