@ahopkins wrote:
Okay … so I did some work on the test client with
requests-async
.Boiling it down, it does not look like we can switch our test client to only use it and replace
aiohttp
. Why? Because it does not support streaming requests.Since we have been talking about doing some work on the testing suite (potentially moving
testing.py
out of the core module, and also adoptingpytest-sanic
), what about starting to move this direction?What I am proposing is to leave the testing architecture as is for the next release, but adding a new repo:
huge-success/sanic-test-client
. Inside that, would beSanicASGITestClient
.Eventually, we could then work on breaking
testing.py
off and into this package and also look into what it would mean (if @yunstanford agrees) to adoptpytest-sanic
under the community org.
Opinions? Thoughts? @core-devs?