kotest / kotest-assertions-ktor

Kotest assertions for Jetbrain's Ktor
Apache License 2.0
5 stars 5 forks source link

Feature Request: Make chaining possible for extension variants #28

Open mervyn-mccreight opened 6 months ago

mervyn-mccreight commented 6 months ago

As described here the usual way extension variants are implemented throughout the kotest core assertions is that they allow chaining multiple assertions.

This is useful for e.g. chaining multiple assertions on one test-subject in an easy way.

Is there something Ktor specific that speaks against this for HttpResponse and/or TestApplicationResponse?

mervyn-mccreight commented 6 months ago

I'd be happy to work on this, I just wanted to clarify whether this is wanted or not before putting effort into it 😄

Kantis commented 5 months ago

I think this could be useful , feel free to open a PR