Skip to content

How to test qute checked templates? #27201

Answered by mkouba
jonafll asked this question in Q&A
Discussion options

You must be logged in to vote

You can't test qute checked templates in a unit test. Instead, you'll need a JUnit5 extension that starts the quarkus application, i.e. annotated the test class with the @io.quarkus.test.junit.QuarkusTest annotation. I'd recommend you to start with our Testing Your Application guide.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@rodcheater
Comment options

@mkouba
Comment options

mkouba Mar 24, 2025
Collaborator

@rodcheater
Comment options

@mkouba
Comment options

mkouba Mar 25, 2025
Collaborator

@rodcheater
Comment options

Answer selected by jonafll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/qute The template engine
3 participants