Open driverpt opened 2 years ago
it seems like there are multiple options that fill this space already without needing a new API (restassured, gru etc.)
Agree, but if you have a lot of tests (and i mean a lot) it's kind of hard to migrate to these new API's.
Also, which one of those Frameworks do you recommend?
rest assured seems like a good bet @sdelamo wrote a guide (not yet merged on that) https://github.com/micronaut-projects/micronaut-guides/pull/900
Gru seems like a better bet if you are a Spock user
REST-Assured Guide is published now under https://guides.micronaut.io/latest/micronaut-rest-assured.html
Thanks folks
REST-Assured Guide is published now under https://guides.micronaut.io/latest/micronaut-rest-assured.html
@sdelamo, do you have an example of how to use REST-assured with kotest?
REST-Assured Guide is published now under https://guides.micronaut.io/latest/micronaut-rest-assured.html
@sdelamo, do you have an example of how to use REST-assured with kotest?
I don't.
What if I want to test only rest api part of my service without persistence? Or without rabbit?
What if I want to test only rest api part of my service without persistence? Or without rabbit?
You can write a test without persistence or security. Disable persistence in your test.
Feature description
Projects with codebases in Spring WebFlux typically use
WebTestClient
which provides a Fluent API for Integration Testing.Is it possible to have something with similar API in Micronaut?
Thanks