, is there any way I can run the ktor test suite on them? Those tests do not happen to get published to maven, or? There’s
ktor-client-tests*
but it doesn’t contain the actual test cases, right?
c
cy
01/23/2021, 7:11 AM
Actually it does. Test suites discover engines via client loader (spi on jvm) and run tests with each found engine.
s
Sebastian Kaspari
01/25/2021, 8:25 AM
Oh, that sound great. Do you know which package exactly and what kind of initialization I’d have to do from my test source set? Is there an out-of-the-ktor-repository example somewhere? :)
c
cy
01/25/2021, 9:19 AM
We had never a good reason for this. For spi you need a text file containing a fully qualified class name. Every jvm engine has it. When a test suite starts, it scans for client engine providers via ServiceLoader.