You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Webtest cannot handle async frameworks such as starlette or quart.
There are alternative test clients out there: starlette and quart provide their own, and there are a few unmaintained libraries on Pypi too. However none of those libs have feature parity with webtest, among other thing I miss the handy form management.
There is a project called webtest-asgi that brings some compatibility, but it is not really asynchronous. This is mostly a synchronous compatibility layer for Webtest and ASGI applications.
While this could be OK as a first step for migration, this is too bad to not benefit from the asynchronicity when the test suite is actually i/o bound.
Is async web frameworks support something that could be implemented in Webtest?
If yes, would a PR be welcome?
If yes, is there any implementation advice/direction to take?
The text was updated successfully, but these errors were encountered:
Webtest cannot handle async frameworks such as starlette or quart.
There are alternative test clients out there: starlette and quart provide their own, and there are a few unmaintained libraries on Pypi too. However none of those libs have feature parity with webtest, among other thing I miss the handy form management.
There is a project called webtest-asgi that brings some compatibility, but it is not really asynchronous. This is mostly a synchronous compatibility layer for Webtest and ASGI applications.
While this could be OK as a first step for migration, this is too bad to not benefit from the asynchronicity when the test suite is actually i/o bound.
The text was updated successfully, but these errors were encountered: