For Ktor test framework, when we using testApplica...
# ktor
t
For Ktor test framework, when we using testApplication to start up the Ktor application, it is not possible to combine with io.restassured.RestAssured ( We want to to use RestAssured to verify the swagger.yaml ). Is it some other way we can test it without using E2E solution?
a
As far as I understand, RestAssured makes HTTP requests to validate the responses, meaning that testApplication, which doesn't listen for and establish TCP/IP connections, cannot be used with it.
t
We found out that we should use OpenApiInteractionValidator instead of RestAssured to validate the Swagger configuration