Giovanni Alluvatti
05/05/2020, 9:52 AM@SpringBootTest
, starting up my application with a real context (no mocks); then using a TestRestTemplate
I can call my rest api exposed to <http://localhost>:{springBootRandomPort}
. Does anybody know a similar smart way to test this scenario also for a ktor + kodein app? Unfortunately I wasn't able to find any examples on official documentation.crummy
05/05/2020, 9:17 PMwithTestApplication
function that spins up nearly your whole app, but doesn't actually listen on HTTP.Giovanni Alluvatti
05/06/2020, 7:29 AMwithTestApplication
doesn't spin up the whole app, and my goal is to test the whole app listening on HTTP.