Why @QuarkusMainTest #48711
argenstijn
started this conversation in
Design Discussions
Replies: 2 comments
0 replies
|
You're right that
|
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.
In the documentation quarkus states you should use @QuarkusMainTest for testing CLI. application I wonder why you would ever use it if you just could use @QuarkusTest. This latter one offers @InjectMocks/@Inject etc. capabilities. And it's easy to implement as well.
Is @QuarkusMainTest necessary to keep? Why not advice @QuarkusTest (for sure if you want to use mocks)?
All reactions