Example of testing ValidationPhaseBuildItem.ValidationErrorBuildItem?
9 views
Skip to first unread message
William Burke
unread,
Jul 30, 2025, 3:39:23 PMJul 30
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Quarkus Development mailing list
I'm adding some validation to an extension. How can I unit test it? Can somebody point me to an example test that does this?
I want to give a set of classes in the project (I know how to do that). These set of classes will either cause a build error or be successful. I want to test both scenarios.
Hope I'm making sense,
Thanks,
Bill
--
Bill Burke
IBM
William Burke
unread,
Jul 30, 2025, 4:29:54 PMJul 30
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Quarkus Development mailing list
Nevermind, found it in QuarkusUnitTest.assertExceptions