-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show proper error when a @QuarkusTest
is run from a non-Quarkus project dir
#18197
Conversation
@QuarkusTest
is run from a non-Quarkus project dir
test-framework/junit5/src/main/java/io/quarkus/test/junit/QuarkusTestExtension.java
Outdated
Show resolved
Hide resolved
…ct dir This change fixes the (not uncommon) case where the IDE picks the wrong working directory to launch the tests. Without this PR, Quarkus throws a totally un-actionable message regarding SmallRye Config's inability to expand the platform properties Fixes: quarkusio#18132 Co-authored-by: Alexey Loubyansky <[email protected]>
This workflow status is outdated as a new workflow run has been triggered. 🚫 This workflow run has been cancelled. Failing Jobs - Building 206fa95
|
This workflow status is outdated as a new workflow run has been triggered. 🚫 This workflow run has been cancelled. Failing Jobs - Building 93b91bf
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice usability improvement, thanks!
YW! I was hit by this myself a couple times and didn't know what to make of it... Then I saw the linked issue and realised that it's a general problem that needs addressing. |
This change fixes the (not uncommon) case where the IDE picks the wrong
working directory to launch the tests.
Without this PR, Quarkus throws a totally un-actionable message
regarding SmallRye Config's inability to expand the platform
properties
Fixes: #18132